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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Mar 14 13:02:32 CET 2011


Revision: 13792
          http://gar.svn.sourceforge.net/gar/?rev=13792&view=rev
Author:   dmichelsen
Date:     2011-03-14 12:02:31 +0000 (Mon, 14 Mar 2011)

Log Message:
-----------
esound: Package split

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

Modified: csw/mgar/pkg/esound/trunk/Makefile
===================================================================
--- csw/mgar/pkg/esound/trunk/Makefile	2011-03-14 11:44:04 UTC (rev 13791)
+++ csw/mgar/pkg/esound/trunk/Makefile	2011-03-14 12:02:31 UTC (rev 13792)
@@ -14,19 +14,43 @@
 MASTER_SITES = $(GNOME_MIRROR)
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
 
-RUNTIME_DEP_PKGS = CSWaudiofile
+VENDOR_URL = http://www.tux.org/~ricdude/EsounD.html
+LICENSE = COPYING.LIB
 
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
+PACKAGES += CSWlibesd0
+CATALOGNAME_CSWlibesd0 = libesd0
+SPKG_DESC_CSWlibesd0 = The enlightened sound daemon library, libesd.so.0
+PKGFILES_CSWlibesd0 = $(call pkgfiles_lib,libesd.so.0)
+RUNTIME_DEP_PKGS_CSWlibesd0 += CSWlibaudiofile0
 
-# TODO on next release:
-# - Move config file from /opt/csw/etc to /etc/opt/csw
-# - Document the location in esd(1)
-# - Skip 64 binaries
+PACKAGES += CSWlibesd-dev
+CATALOGNAME_CSWlibesd-dev = libesd_dev
+SPKG_DESC_CSWlibesd-dev = Development files for libesd.so.0
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibesd-dev += CSWlibesd0
 
+ESD_BINS += esd
+ESD_BINS += esdcat
+ESD_BINS += esdctl
+ESD_BINS += esdfilt
+ESD_BINS += esdloop
+ESD_BINS += esdmon
+ESD_BINS += esdplay
+ESD_BINS += esdrec
+ESD_BINS += esdsample
+
+PACKAGES += CSWesound
+CATALOGNAME_CSWesound = esound
+SPKG_DESC_CSWesound = The enlightened sound daemon
+PKGFILES_CSWesound += $(foreach B,$(ESD_BINS),$(bindir)/$B $(mandir)/man1/$(B).1)
+PKGFILES_CSWesound += $(sysconfdir)/.*
+RUNTIME_DEP_PKGS_CSWesound += CSWlibesd0
+RUNTIME_DEP_PKGS_CSWesound += CSWlibaudiofile0
+
 sysconfdir = /etc/opt/csw
 
 PRESERVECONF = $(sysconfdir)/esd.conf
-MIGRATE_FILES = esd.conf
+MIGRATE_FILES_CSWesound = esd.conf
 
 BUILD64 = 1
 NOISAEXEC = 1
@@ -34,6 +58,8 @@
 
 TEST_TARGET = check
 
+MERGE_SCRIPTS_isa-extra += copy-relocated-only
+MERGE_SCRIPTS_isa-extra += copy-config-only
 MERGE_DIRS_isa-extra = $(libdir)
 
 include gar/category.mk


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