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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Oct 3 00:42:20 CEST 2011


Revision: 15834
          http://gar.svn.sourceforge.net/gar/?rev=15834&view=rev
Author:   wahwah
Date:     2011-10-02 22:42:20 +0000 (Sun, 02 Oct 2011)
Log Message:
-----------
pkg/schily/trunk: switching to smake, the build breaks

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

Modified: csw/mgar/pkg/schily/trunk/Makefile
===================================================================
--- csw/mgar/pkg/schily/trunk/Makefile	2011-10-02 22:04:46 UTC (rev 15833)
+++ csw/mgar/pkg/schily/trunk/Makefile	2011-10-02 22:42:20 UTC (rev 15834)
@@ -11,12 +11,25 @@
 SPKG_SOURCEURL =
 MASTER_SITES = ftp://ftp.berlios.de/pub/schily/
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
+BUILD_DEP_PKGS = CSWsmake
 CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
 TEST_SCRIPTS =
-INS_BASE = /opt/csw
-INS_RBASE = /opt/csw
+INS_BASE = $(BUILD_PREFIX)
+INS_RBASE = $(BUILD_PREFIX)
 EXTRA_COMMON_EXPORTS = INS_BASE INS_RBASE
 # Shared libraries don't work at the moment.
 # LINKMODE = dynamic
 # EXTRA_COMMON_EXPORTS += LINKMODE
+BUILD_ARGS = INS_BASE=$(INS_BASE) INS_RBASE=$(INS_RBASE)
+
 include gar/category.mk
+
+build-custom:
+	(cd $(WORKSRC) && smake $(BUILD_ARGS))
+	@$(MAKECOOKIE)
+
+install-custom:
+	(cd $(WORKSRC) && smake $(BUILD_ARGS) 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