SF.net SVN: gar:[24958] csw/mgar/pkg/libpng/branches/libpng15/Makefile

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Sun May 10 22:26:39 CEST 2015


Revision: 24958
          http://sourceforge.net/p/gar/code/24958
Author:   rmottola
Date:     2015-05-10 20:26:39 +0000 (Sun, 10 May 2015)
Log Message:
-----------
libpng/branches/libpng15: opposite approach: package in dev only the minimum stuff

Modified Paths:
--------------
    csw/mgar/pkg/libpng/branches/libpng15/Makefile

Modified: csw/mgar/pkg/libpng/branches/libpng15/Makefile
===================================================================
--- csw/mgar/pkg/libpng/branches/libpng15/Makefile	2015-05-08 15:26:58 UTC (rev 24957)
+++ csw/mgar/pkg/libpng/branches/libpng15/Makefile	2015-05-10 20:26:39 UTC (rev 24958)
@@ -40,6 +40,11 @@
 SPKG_DESC_CSWlibpng15-dev = $(DESCRIPTION), development files
 RUNTIME_DEP_PKGS_CSWlibpng15-dev += CSWlibpng15-15
 
+#we package in only certain versioned files
+PKGFILES_CSWlibpng15-dev += $(call baseisadirs,$(libdir),libpng15-config)
+PKGFILES_CSWlibpng15-dev += $(call baseisadirs,$(libdir),pkgconfig/libpng15.pc)
+PKGFILES_CSWlibpng15-dev += $(call baseisadirs,$(libdir),include/libpng16/*)
+
 #we obsolete the unversioned developer package
 OBSOLETED_BY_CSWlibpng15-dev = CSWlibpng-dev
 
@@ -50,16 +55,8 @@
 RUNTIME_DEP_PKGS_CSWlibpng += CSWlibpng15-15
 RUNTIME_DEP_PKGS_CSWlibpng15-15 += CSWlibz1
 
-# The CSWpng package must also pull in libpng.so.3 and libpng12.so.0
-OBSOLETED_BY_CSWlibpng15-15 = CSWpng
 
 BUILD64_LIBS_ONLY = 1
 
 include gar/category.mk
 
-
-post-install:
-#we remove the symlink for this package only which is now superseded by 16
-	rm -f $(DESTDIR)$(libdir)/libpng.pc
-	rm -f $(DESTDIR)$(libdir)/libpng.so
-	@$(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