[csw-devel] SF.net SVN: gar:[21569] csw/mgar/pkg/libserf/trunk/Makefile

rthurner at users.sourceforge.net rthurner at users.sourceforge.net
Mon Jul 29 00:54:20 CEST 2013


Revision: 21569
          http://gar.svn.sourceforge.net/gar/?rev=21569&view=rev
Author:   rthurner
Date:     2013-07-28 22:54:20 +0000 (Sun, 28 Jul 2013)
Log Message:
-----------
libserf, 1st try to convert to SCONS, still not building

Modified Paths:
--------------
    csw/mgar/pkg/libserf/trunk/Makefile

Modified: csw/mgar/pkg/libserf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libserf/trunk/Makefile	2013-07-28 22:08:07 UTC (rev 21568)
+++ csw/mgar/pkg/libserf/trunk/Makefile	2013-07-28 22:54:20 UTC (rev 21569)
@@ -17,6 +17,11 @@
 LICENSE = LICENSE
 VENDOR_URL = http://code.google.com/p/serf/
 
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = serf
+INSTALL_SCRIPTS = serf
+TEST_SCRIPTS =
+
 # openssl-1.0 only available for sol-10
 PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
 
@@ -41,8 +46,23 @@
 
 EXTRA_LIB = $(prefix)/bdb48/lib
 
-CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-apr=$(bindir)/apr-1-config
-CONFIGURE_ARGS += --with-apr-util=$(bindir)/apu-1-config
+SCONS_FLAGS += PREFIX=$(prefix) 
+SCONS_FLAGS += APR=$(bindir)/apr-1-config
+SCONS_FLAGS += APU=$(bindir)/apu-1-config
 
 include gar/category.mk
+
+build-serf:
+	(cd $(WORKSRC); \
+		scons \
+		$(SCONS_FLAGS))
+	@$(MAKECOOKIE)
+
+install-serf:
+	(cd $(WORKSRC); \
+		scons  \
+		$(SCONS_FLAGS) \
+		-Q --prefix=$(DESTDIR)$(BUILD_PREFIX) \
+		install)
+	@$(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