[csw-devel] SF.net SVN: gar:[15406] csw/mgar/pkg/libfpx/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Aug 22 16:36:42 CEST 2011


Revision: 15406
          http://gar.svn.sourceforge.net/gar/?rev=15406&view=rev
Author:   dmichelsen
Date:     2011-08-22 14:36:42 +0000 (Mon, 22 Aug 2011)

Log Message:
-----------
libfpx: General cleanup, adjust package names to latest standard

Modified Paths:
--------------
    csw/mgar/pkg/libfpx/trunk/Makefile
    csw/mgar/pkg/libfpx/trunk/checksums

Modified: csw/mgar/pkg/libfpx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libfpx/trunk/Makefile	2011-08-22 14:32:34 UTC (rev 15405)
+++ csw/mgar/pkg/libfpx/trunk/Makefile	2011-08-22 14:36:42 UTC (rev 15406)
@@ -1,6 +1,5 @@
 NAME = libfpx
 VERSION = 1.3.0
-GARSUBREV = 1
 CATEGORIES = lib
 
 DESCRIPTION = FlashPIX library
@@ -8,40 +7,41 @@
 endef
 
 MASTER_SITES = ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/
-DISTFILES  = $(NAME)-$(VERSION)-$(GARSUBREV).tar.bz2
+DISTFILES  = $(DISTNAME).tar.xz
 
-PACKAGES = CSWlibfpx CSWlibfpxdevel
-CATALOGNAME_CSWlibfpx = libfpx
-CATALOGNAME_CSWlibfpxdevel = libfpx_devel
-
-SPKG_DESC_CSWlibfpx += FlashPIX library
-SPKG_DESC_CSWlibfpxdevel += FlashPIX library - developer package
-
-RUNTIME_DEP_PKGS_CSWlibfpx +=
-RUNTIME_DEP_PKGS_CSWlibfpxdevel += CSWlibfpx
-
-PKGFILES_CSWlibfpxdevel = $(PKGFILES_DEVEL)
-
-SPKG_SOURCEURL = http://www.imagemagick.org
-
-PATCHFILES = olecomm.h.patch
+PATCHFILES += olecomm.h.patch
 PATCHFILES += tchar.patch
 
+VENDOR_URL = http://www.imagemagick.org
 LICENSE = flashpix.h
 
-DOCFILES = AUTHORS ChangeLog NEWS README
+PACKAGES += CSWlibfpx1
+SPKG_DESC_CSWlibfpx1 = FlashPIX library, libfpx.so.1
+PKGFILES_CSWlibfpx1 += $(call pkgfiles_lib,libfpx.so.1)
+OBSOLETED_BY_CSWlibfpx1 += CSWlibfpx
 
-UFILES_REGEX = $(NAME)-((\d+(?:\.\d+)*)-(\d+)?).tar.bz2
+PACKAGES += CSWlibfpx-dev
+SPKG_DESC_CSWlibfpx-dev = Development files for libfpx.so.1
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibfpx-dev += CSWlibfpx1
+OBSOLETED_BY_CSWlibfpx-dev += CSWlibfpxdevel
+CATALOGNAME_CSWlibfpxdevel = libfpx_devel_stub
 
+DOCFILES += AUTHORS
+DOCFILES += ChangeLog
+DOCFILES += NEWS
+DOCFILES += README
+
 # Fix for problem introduced between 12101[7-8]-17 and 12101[7-8]-20
 CXXFLAGS += -D_RWSTD_NO_WSTR=1
 
-CONFIGURE_ARGS  = $(DIRPATHS)
+BUILD64 = 1
 
-STRIP_LIBTOOL=1
+STRIP_LIBTOOL = 1
 
-TEST_TARGET = check
+include gar/category.mk
 
-BUILD64 = 1
-
-include gar/category.mk
+post-install-modulated:
+	ginstall -d $(DESTDIR)$(docdir)/libfpx_dev
+	cd $(WORKSRC) && ginstall -m 0644 $(DOCFILES) $(DESTDIR)$(docdir)/libfpx_dev
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/libfpx/trunk/checksums
===================================================================
--- csw/mgar/pkg/libfpx/trunk/checksums	2011-08-22 14:32:34 UTC (rev 15405)
+++ csw/mgar/pkg/libfpx/trunk/checksums	2011-08-22 14:36:42 UTC (rev 15406)
@@ -1,3 +1 @@
-d65c555aa68a296d6eba384929434d70  libfpx-1.3.0-1.tar.bz2
-d921300d89983df26f66f45b391bdc60  olecomm.h.patch
-0e4672051619c7da13f643b8c42560cd  tchar.patch
+cee1256ac7ab0d78ab6e11daad78db06  libfpx-1.3.0.tar.xz


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