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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 25 16:47:14 CET 2013


Revision: 20218
          http://gar.svn.sourceforge.net/gar/?rev=20218&view=rev
Author:   dmichelsen
Date:     2013-01-25 15:47:14 +0000 (Fri, 25 Jan 2013)
Log Message:
-----------
libfishsound/trunk: Split off devel package, update to latest standards

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

Modified: csw/mgar/pkg/libfishsound/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libfishsound/trunk/Makefile	2013-01-25 13:50:54 UTC (rev 20217)
+++ csw/mgar/pkg/libfishsound/trunk/Makefile	2013-01-25 15:47:14 UTC (rev 20218)
@@ -11,18 +11,36 @@
 MASTER_SITES =  http://downloads.xiph.org/releases/libfishsound/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+VENDOR_URL = http://www.xiph.org/fishsound/
 
-SPKG_SOURCEURL = http://www.xiph.org/fishsound/
+BUILD_DEP_PKGS += CSWlibogg-dev
+BUILD_DEP_PKGS += CSWlibvorbis-dev
+BUILD_DEP_PKGS += CSWlibflac-dev
+BUILD_DEP_PKGS += CSWlibspeex-dev
 
-RUNTIME_DEP_PKGS = CSWflac CSWlibogg CSWspeex CSWvorbis
-BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS)
+PACKAGES += CSWlibfishsound0
+SPKG_DESC_CSWlibfishsound0 = Decoding and encoding audio data using the Xiph.org codecs, libfishsound.so.0
+PKGFILES_CSWlibfishsound0 += $(call pkgfiles_lib,libfishsound.so.0)
+RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibspeex1
+RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibvorbis0
+RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibvorbisenc2
+RUNTIME_DEP_PKGS_CSWlibfishsound0 += CSWlibflac8
+OBSOLETED_BY_CSWlibfishsound0 += CSWlibfishsound
 
+PACKAGES += CSWlibfishsound-dev
+SPKG_DESC_CSWlibfishsound-dev = Development files for libfishsound.so.0
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibfishsound-dev += CSWlibfishsound0
+
+# These are just docs
+CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libfishsound/html/group__install.html
+CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/share/doc/libfishsound/latex/group__install.tex
+# This is an example
+CHECKPKG_OVERRIDES_CSWlibfishsound-dev += file-with-bad-content|/usr/local|root/opt/csw/include/fishsound/fishsound.h
+
 OPT_FLAGS_SOS =
 
-BUILD64_LIBS_ONLY = 1
-CONFIGURE_ARGS = $(DIRPATHS)
+BUILD64 = 1
 
 BUILD_ARGS = AM_CFLAGS= SHLIB_VERSION_ARG= libfishsound_la_LDFLAGS=
 
@@ -34,6 +52,6 @@
 include gar/category.mk
 
 # UINTPTR_MAX is defined empty in Solaris, which breaks a constraint check
-post-configure-modulated:
+post-configure:
 	perl -pi -e 's,(.*HAVE_UINTPTR_T.*),/* \1 */,' $(WORKSRC)/config.h
 	@$(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