[csw-devel] SF.net SVN: gar:[20119] csw/mgar/pkg/leveldb/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Jan 13 21:21:34 CET 2013
Revision: 20119
http://gar.svn.sourceforge.net/gar/?rev=20119&view=rev
Author: wahwah
Date: 2013-01-13 20:21:34 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
leveldb/trunk: version update to 1.9, package split
Modified Paths:
--------------
csw/mgar/pkg/leveldb/trunk/Makefile
Modified: csw/mgar/pkg/leveldb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/leveldb/trunk/Makefile 2013-01-13 19:49:39 UTC (rev 20118)
+++ csw/mgar/pkg/leveldb/trunk/Makefile 2013-01-13 20:21:34 UTC (rev 20119)
@@ -16,6 +16,9 @@
UPSTREAM_MASTER_SITES = http://code.google.com/p/leveldb/downloads/list
+# AtomicPointer implementation is lacking for SPARC
+PACKAGING_PLATFORMS = solaris10-i386
+
PATCHFILES += 0001-Set-Solaris-linker-flags-for-v1.9.patch
CONFIGURE_ARGS = $(DIRPATHS)
@@ -29,15 +32,26 @@
CONFIGURE_SCRIPTS =
INSTALL_SCRIPTS = custom
+PACKAGES += CSWlibleveldb1-gxx
+PKGFILES_CSWlibleveldb1-gxx += $(call baseisadirs,$(libdir),libleveldb\.so\.1(\.\d+)*)
+SPKG_DESC_CSWlibleveldb1-gxx += $(DESCRIPTION), libleveldb.so.1
+RUNTIME_DEP_PKGS_CSWlibleveldb1-gxx += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibleveldb1-gxx += CSWlibstdc++6
+
+PACKAGES += CSWlibleveldb1-gxx-dev
+RUNTIME_DEP_PKGS_CSWleveldb-gxx-dev += CSWlibleveldb1-gxx
+SPKG_DESC_CSWlibleveldb1-gxx-dev += $(DESCRIPTION), development files
+RUNTIME_DEP_PKGS_CSWlibleveldb1-gxx-dev += CSWlibleveldb1-gxx
+
include gar/category.mk
install-custom:
ginstall -d -m 755 $(DESTDIR)$(libdir)
- for f in $(WORKSRC)/libleveldb.*; do \
- gcp -v $${f} $(DESTDIR)$(libdir); \
- done
+ rsync -rvl $(WORKSRC)/libleveldb.* $(DESTDIR)$(libdir)
ginstall -d -m 755 $(DESTDIR)$(includedir)
- rsync -rv $(WORKSRC)/include/ $(DESTDIR)$(includedir)
+ rsync -rvl $(WORKSRC)/include/ $(DESTDIR)$(includedir)
+ ginstall -d -m 755 $(DESTDIR)$(docdir)
+ rsync -rvl $(WORKSRC)/doc/ $(DESTDIR)$(docdir)
@$(MAKECOOKIE)
PATH := /opt/csw/gnu:$(PATH)
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