[csw-devel] SF.net SVN: gar:[17434] csw/mgar/pkg/alpine/trunk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Fri Mar 16 19:06:51 CET 2012
Revision: 17434
http://gar.svn.sourceforge.net/gar/?rev=17434&view=rev
Author: bdwalton
Date: 2012-03-16 18:06:50 +0000 (Fri, 16 Mar 2012)
Log Message:
-----------
alpine/trunk: import a split out makefile into the main recipe
Modified Paths:
--------------
csw/mgar/pkg/alpine/trunk/Makefile
Removed Paths:
-------------
csw/mgar/pkg/alpine/trunk/files/install_scripts.mk
Modified: csw/mgar/pkg/alpine/trunk/Makefile
===================================================================
--- csw/mgar/pkg/alpine/trunk/Makefile 2012-03-16 17:30:33 UTC (rev 17433)
+++ csw/mgar/pkg/alpine/trunk/Makefile 2012-03-16 18:06:50 UTC (rev 17434)
@@ -54,11 +54,48 @@
CONFIGURE_ARGS += --with-spellcheck-prog=$(bindir)/aspell
## Libs that are not get set correctly in Makefiles
-LIBS += -lm -lgssapi_krb5 -lkrb5 -lintl -liconv
-export LIBS
+EXTRA_LIBS += -lm -lgssapi_krb5 -lkrb5 -lintl -liconv
RUNTIME_DEP_PKGS = CSWggettextrt CSWiconv CSWtcl CSWsasl CSWosslrt
RUNTIME_DEP_PKGS += CSWkrb5lib CSWlibnet CSWncurses CSWoldaprt
-include files/install_scripts.mk
include gar/category.mk
+
+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)
+
+
+
Deleted: csw/mgar/pkg/alpine/trunk/files/install_scripts.mk
===================================================================
--- csw/mgar/pkg/alpine/trunk/files/install_scripts.mk 2012-03-16 17:30:33 UTC (rev 17433)
+++ csw/mgar/pkg/alpine/trunk/files/install_scripts.mk 2012-03-16 18:06:50 UTC (rev 17434)
@@ -1,38 +0,0 @@
-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