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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu May 19 17:06:27 CEST 2011


Revision: 14621
          http://gar.svn.sourceforge.net/gar/?rev=14621&view=rev
Author:   dmichelsen
Date:     2011-05-19 15:06:27 +0000 (Thu, 19 May 2011)

Log Message:
-----------
libshout: Split packages and update to new defaults

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

Modified: csw/mgar/pkg/libshout/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libshout/trunk/Makefile	2011-05-19 15:00:27 UTC (rev 14620)
+++ csw/mgar/pkg/libshout/trunk/Makefile	2011-05-19 15:06:27 UTC (rev 14621)
@@ -7,22 +7,30 @@
 endef
 
 MASTER_SITES = http://downloads.us.xiph.org/releases/libshout/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+DISTFILES  = $(DISTNAME).tar.gz
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+PACKAGES += CSWlibshout3
+SPKG_DESC_CSWlibshout3 = Icecast library, libshout.so.3
+PKGFILES_CSWlibshout3 = $(call pkgfiles_lib,libshout.so.3)
+RUNTIME_DEP_PKGS_CSWlibshout3 += CSWlibogg0
+RUNTIME_DEP_PKGS_CSWlibshout3 += CSWlibvorbis0
+RUNTIME_DEP_PKGS_CSWlibshout3 += CSWlibtheora0
+OBSOLETED_BY_CSWlibshout3 = CSWlibshout
 
-RUNTIME_DEP_PKGS = CSWlibogg CSWtheora CSWvorbis
-PRERQUISITE_PKGS = $(RUNTIME_DEP_PKGS)
+PACKAGES += CSWlibshout-dev
+SPKG_DESC_CSWlibshout-dev = Development files for libshout.so.3
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibshout-dev = CSWlibshout3
 
+BUILD64 = 1
+
 #         GAR default: -xO3 -xarch=v8 -I/opt/csw/include
 # Configure hardwired: -xO4 -fast -w -fsimple -native -xcg92
+BUILD_ARGS = CFLAGS="-xO4 -fsimple -native -xcg92 $(filter -m% -xarch=% -I%,$(CFLAGS))"
 
-BUILD64 = 1
-CONFIGURE_ARGS = $(DIRPATHS)
+include gar/category.mk
 
-BUILD_ARGS = CFLAGS="-xO4 -fast -w -fsimple -native -xcg92 $(filter -xarch=% -I%,$(CFLAGS))"
-
-TEST_TARGET = check
-
-include gar/category.mk
+post-extract-modulated:
+	perl -pi \
+		-e 's,/usr/local,$(prefix),' \
+		$(WORKSRC)/m4/shout.m4


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