[csw-devel] SF.net SVN: gar:[16209] csw/mgar/pkg/gnulib/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Nov 18 11:51:26 CET 2011
Revision: 16209
http://gar.svn.sourceforge.net/gar/?rev=16209&view=rev
Author: dmichelsen
Date: 2011-11-18 10:51:26 +0000 (Fri, 18 Nov 2011)
Log Message:
-----------
gnulib/trunk: Add installation and 64 bit
Modified Paths:
--------------
csw/mgar/pkg/gnulib/trunk/Makefile
Modified: csw/mgar/pkg/gnulib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnulib/trunk/Makefile 2011-11-17 21:48:23 UTC (rev 16208)
+++ csw/mgar/pkg/gnulib/trunk/Makefile 2011-11-18 10:51:26 UTC (rev 16209)
@@ -15,11 +15,31 @@
VENDOR_URL = http://www.gnu.org/software/gnulib/manual/html_node/POSIX-Substitutes-Library.html
+PACKAGES += CSWlibgnu-dev
+SPKG_DESC_CSWlibgnu-dev = ISO C / POSIX substitution library libgnu.a and headers
+# PKGFILES is catchall
+
WORKSRC = $(WORKDIR)/posixlib
+BUILD64 = 1
+
+INSTALL_SCRIPTS = custom
+
+# We explicitly want libgnu.a
+MERGE_EXCLUDE_STATICLIBS =
+CHECKPKG_OVERRIDES_CSWlibgnu-dev += discouraged-path-in-pkgmap|/opt/csw/lib/libgnu.a
+CHECKPKG_OVERRIDES_CSWlibgnu-dev += discouraged-path-in-pkgmap|/opt/csw/lib/sparcv9/libgnu.a
+
include gar/category.mk
post-extract-modulated:
-cd $(WORKDIR)/$(NAME)-$(VERSION) && ./gnulib-tool --create-testdir --source-base=lib \
--dir=$(abspath $(WORKSRC)) `./posix-modules`
+ @$(MAKECOOKIE)
+install-custom:
+ ginstall -d $(DESTDIR)$(libdir)
+ ginstall $(WORKSRC)/gllib/libgnu.a $(DESTDIR)$(libdir)/libgnu.a
+ ginstall -d $(DESTDIR)$(includedir)/gnulib
+ cd $(WORKDIR)/$(NAME)-$(VERSION)/lib && ginstall *.h $(DESTDIR)$(includedir)/gnulib
+ @$(MAKECOOKIE)
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