[csw-devel] SF.net SVN: gar:[18439] csw/mgar/pkg/mule/trunk/Makefile
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Sat Jun 16 15:28:35 CEST 2012
Revision: 18439
http://gar.svn.sourceforge.net/gar/?rev=18439&view=rev
Author: idogan23
Date: 2012-06-16 13:28:34 +0000 (Sat, 16 Jun 2012)
Log Message:
-----------
mule: Delete non Solaris files, otherwise checkpkg crashes
Modified Paths:
--------------
csw/mgar/pkg/mule/trunk/Makefile
Modified: csw/mgar/pkg/mule/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mule/trunk/Makefile 2012-06-16 13:14:17 UTC (rev 18438)
+++ csw/mgar/pkg/mule/trunk/Makefile 2012-06-16 13:28:34 UTC (rev 18439)
@@ -16,6 +16,8 @@
DISTFILES += cswmule
DISTFILES += CSWmule.postinstall
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
PATCHFILES += 0001-javapath.patch
PATCHFILES += 0001-runasusermule.patch
PATCHFILES += 0001-piddir.patch
@@ -24,6 +26,8 @@
ARCHALL = 1
+LICENSE = LICENSE.txt
+
# File name regex to get notifications about upstream software releases
# NOTE: Use this only if the automatic regex creation
# does not work for your package
@@ -33,12 +37,13 @@
# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
# UPSTREAM_MASTER_SITES =
+RUNTIME_DEP_PKGS_CSWmule += CSWpython
+
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
TEST_SCRIPTS =
INSTALL_SCRIPTS = custom
-SPKG_CLASSES = none cswinitsmf cswsampleconf cswusergroup ugfiles
INITSMF = /etc/opt/csw/init.d/cswmule
PRESERVECONF = /etc/opt/csw/mule/.*
USERGROUP = /etc/opt/csw/pkg/CSWmule/cswusergroup
@@ -50,8 +55,39 @@
PROTOTYPE_GROUP_mule_ugfiles = mule
PROTOTYPE_CLASS_mule_ugfiles = ugfiles
+CHECKPKG_OVERRIDES_CSWmule += binary-architecture-does-not-match-placement|file=opt/csw/mule/lib/boot/libwrapper-solaris-sparc-64.so|arch_id=43|arch_name=sparcv9
+CHECKPKG_OVERRIDES_CSWmule += binary-architecture-does-not-match-placement|file=opt/csw/mule/lib/boot/exec/wrapper-solaris-sparc-64|arch_id=43|arch_name=sparcv9
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/exec/wrapper-solaris-sparc-32
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/exec/wrapper-solaris-sparc-64
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/exec/wrapper-solaris-x86-32
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/libwrapper-solaris-sparc-32.so
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/libwrapper-solaris-sparc-64.so
+CHECKPKG_OVERRIDES_CSWmule += archall-with-binaries|opt/csw/mule/lib/boot/libwrapper-solaris-x86-32.so
+CHECKPKG_OVERRIDES_CSWmule += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/application/cswmule.xml
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/libwrapper-solaris-sparc-32.so|pkginfo-says=all|actual-binary=sparc
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/libwrapper-solaris-sparc-64.so|pkginfo-says=all|actual-binary=sparc
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/libwrapper-solaris-x86-32.so|pkginfo-says=all|actual-binary=i386
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/exec/wrapper-solaris-sparc-32|pkginfo-says=all|actual-binary=sparc
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/exec/wrapper-solaris-sparc-64|pkginfo-says=all|actual-binary=sparc
+CHECKPKG_OVERRIDES_CSWmule += binary-wrong-architecture|file=opt/csw/mule/lib/boot/exec/wrapper-solaris-x86-32|pkginfo-says=all|actual-binary=i386
+
install-custom:
@ginstall -d $(DESTDIR)/opt/csw/$(NAME)
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-freebsd-x86-32
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-hpux-parisc-32
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-linux-ia-64
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-linux-ppc-64
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-linux-x86-32
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-linux-x86-64
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-macosx-ppc-32
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-macosx-universal-32
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/exec/wrapper-windows-x86-32.exe
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-linux-ia-64.so
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-linux-ppc-64.so
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-linux-x86-32.so
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-linux-x86-64.so
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-macosx-ppc-32.jnilib
+ @rm $(WORKDIR)/$(DISTNAME)/lib/boot/libwrapper-macosx-universal-32.jnilib
@cp -rp $(WORKDIR)/$(DISTNAME)/* $(DESTDIR)/opt/csw/$(NAME)
@ginstall -d $(DESTDIR)/var/opt/csw/mule
@mv $(DESTDIR)/opt/csw/mule/logs $(DESTDIR)/var/opt/csw/mule
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list