[csw-devel] SF.net SVN: gar:[4613] csw/mgar/pkg/alpine/trunk/files/install_scripts.mk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Thu Apr 30 04:27:00 CEST 2009
Revision: 4613
http://gar.svn.sourceforge.net/gar/?rev=4613&view=rev
Author: valholla
Date: 2009-04-30 02:26:59 +0000 (Thu, 30 Apr 2009)
Log Message:
-----------
custom install script
Added Paths:
-----------
csw/mgar/pkg/alpine/trunk/files/install_scripts.mk
Added: csw/mgar/pkg/alpine/trunk/files/install_scripts.mk
===================================================================
--- csw/mgar/pkg/alpine/trunk/files/install_scripts.mk (rev 0)
+++ csw/mgar/pkg/alpine/trunk/files/install_scripts.mk 2009-04-30 02:26:59 UTC (rev 4613)
@@ -0,0 +1,38 @@
+PI_SCRIPTS = cleanup-web
+PI_SCRIPTS += install-mlock
+PI_SCRIPTS += install-web
+
+post-install-modulated: $(PI_SCRIPTS)
+
+
+install-mlock:
+ @(echo "==> Installing mlock")
+ (ginstall -d $(DESTDIR)$(sbindir))
+ @(gcp $(WORKSRC)/imap/mlock/mlock $(DESTDIR)$(sbindir))
+ @$(MAKECOOKIE)
+
+cleanup-web:
+ @(grm -fr $(DESTDIR)/home)
+
+install-web:
+ @(echo "==> Installing Web Interface")
+ @(ginstall -d $(DESTDIR)$(libexecdir)/alpine-2.00)
+ @(gcp -R $(WORKSRC)/web/* $(DESTDIR)$(libexecdir)/alpine-2.00)
+ @(gcp $(WORKSRC)/web/src/pubcookie/wp_gssapi_proxy \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin)
+ @(gcp $(WORKSRC)/web/src/pubcookie/wp_tclsh \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin)
+ @(gcp $(WORKSRC)/web/src/pubcookie/wp_uidmapper \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin)
+ @(gcp $(WORKSRC)/web/src/pubcookie/wp_umc \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin)
+ @(gcp $(WORKSRC)/web/src/pubcookie/debug.cgi \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin)
+ @(grm -fr $(DESTDIR)$(libexecdir)/alpine-2.00/src)
+ @(grm -f $(DESTDIR)$(libexecdir)/alpine-2.00/bin/tclsh)
+ @(gln -s $(bindir)/tclsh \
+ $(DESTDIR)$(libexecdir)/alpine-2.00/bin/tclsh)
+ @(cd $(DESTDIR)$(libexecdir); gln -s ./alpine-2.00 ./alpine)
+
+
+
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