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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jul 14 18:29:21 CEST 2009


Revision: 5573
          http://gar.svn.sourceforge.net/gar/?rev=5573&view=rev
Author:   wahwah
Date:     2009-07-14 16:29:21 +0000 (Tue, 14 Jul 2009)

Log Message:
-----------
Bumping up the version to 1.3.11. Fixing a small bug, in which the build would
fail when done issued more than one time without removing the ~/build* and
~/spool* directories..

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

Modified: csw/mgar/pkg/cups/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cups/trunk/Makefile	2009-07-14 16:21:45 UTC (rev 5572)
+++ csw/mgar/pkg/cups/trunk/Makefile	2009-07-14 16:29:21 UTC (rev 5573)
@@ -1,5 +1,5 @@
 GARNAME = cups
-GARVERSION = 1.3.9
+GARVERSION = 1.3.11
 CATEGORIES = net
 
 define BLURB
@@ -32,12 +32,15 @@
 
 DISTFILES += i.smfyes i.smfno space checkinstall
 
+REQUIRED_PKGS = CSWkrb5lib CSWosslrt
+PREREQUISITE_PKGS = $(REQUIRED_PKGS) CSWoldapdevel
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = cups-(\d+(?:\.\d+)*)-source.tar.bz2
 
 LD_OPTIONS = -R/opt/csw/lib/\$$ISALIST -R/opt/csw/lib
 
-CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS = $(DIRPATHS) --enable-pdftops
 
 # This is a hack that's needed, because configure (Makedefs) will otherwise
 # plase -ltiff, etc. first and -L/opt/csw/lib afterwards, thus being unable
@@ -86,8 +89,10 @@
 	fi)
 	(cd $(DESTDIR); \
 	if [ -d usr/share ]; then \
-		mv usr/share/* ./$(prefix)/share; \
-		rmdir -p usr/share; \
+		cd usr/share; \
+		gtar cf - * | gtar xf - -C ./$(prefix)/share; \
+		cd ../..; \
+		rm -rf usr/share; \
 	fi)
 	(cd $(DESTDIR)$(prefix)/etc/cups; \
 	for i in cupsd.conf; do \


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