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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Apr 29 16:17:10 CEST 2013


Revision: 20902
          http://gar.svn.sourceforge.net/gar/?rev=20902&view=rev
Author:   pfelecan
Date:     2013-04-29 14:17:10 +0000 (Mon, 29 Apr 2013)
Log Message:
-----------
libmtp/libmtp: splitted

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

Modified: csw/mgar/pkg/libmtp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libmtp/trunk/Makefile	2013-04-29 13:14:39 UTC (rev 20901)
+++ csw/mgar/pkg/libmtp/trunk/Makefile	2013-04-29 14:17:10 UTC (rev 20902)
@@ -19,5 +19,39 @@
 CONFIGURE_ARGS	=	$(DIRPATHS)
 CONFIGURE_ARGS	+=	--enable-doxygen
 
+PACKAGES							+=	CSWlibmtp-utils
+CATALOGNAME_CSWlibmtp-utils			=	libmtp-utils
+SPKG_DESC_CSWlibmtp-utils			=	$(DESCRIPTION), utilities
+RUNTIME_DEP_PKGS_CSWlibmtp-utils	+=	CSWlibmtp9
+RUNTIME_DEP_PKGS_CSWlibmtp-utils	+=	CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibmtp-utils	+=	CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibmtp-utils	+=	CSWlibgcrypt11
+
+PACKAGES				+=	CSWlibmtp9
+CATALOGNAME_CSWlibmtp9	=	libmtp9
+PKGFILES_CSWlibmtp9		+=	$(call baseisadirs,$(libdir),libmtp\.so\.9\.1\.0)
+PKGFILES_CSWlibmtp9		+=	$(call baseisadirs,$(libdir),libmtp\.so\.9(\.\d+)*)
+SPKG_DESC_CSWlibmtp9	+=	$(DESCRIPTION), libmtp.so.9
+
+PACKAGES						+=	CSWlibmtp-dev
+CATALOGNAME_CSWlibmtp-dev		=	libmtp_dev
+SPKG_DESC_CSWlibmtp-dev			+=	$(DESCRIPTION), development files
+PKGFILES_CSWlibmtp-dev			+=	/opt/csw/lib/libmtp.so
+PKGFILES_CSWlibmtp-dev			+=	$(PKGFILES_DEVEL)
+ARCHALL_CSWlibmtp-dev			=	1
+RUNTIME_DEP_PKGS_CSWlibmtp-dev	+=	CSWlibmtp9
+
+PACKAGES						+=	CSWlibmtp-doc
+CATALOGNAME_CSWlibmtp-doc		=	libmtp_doc
+SPKG_DESC_CSWlibmtp-doc			+=	$(DESCRIPTION), documentation
+PKGFILES_CSWlibmtp-doc			+=	/opt/csw/share/doc/$(NAME)_doc/html/.*
+ARCHALL_CSWlibmtp-doc			=	1
+
 include gar/category.mk
 
+post-install-modulated: pkgdocdir = $(docdir)/$(NAME)
+post-install-modulated:
+	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)$(pkgdocdir)_doc
+	mv $(DESTDIR)/$(pkgdocdir)-$(VERSION)/html $(DESTDIR)/$(pkgdocdir)_doc
+	rm -rf $(DESTDIR)$(pkgdocdir)-$(VERSION)
+	$(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