[csw-devel] SF.net SVN: gar:[18352] csw/mgar/pkg/imap-c-client/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Jun 12 04:26:57 CEST 2012


Revision: 18352
          http://gar.svn.sourceforge.net/gar/?rev=18352&view=rev
Author:   bdwalton
Date:     2012-06-12 02:26:57 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
imap-c-client/trunk: make the dev package version agnostic and add an unversioned .so symlink to it

Modified Paths:
--------------
    csw/mgar/pkg/imap-c-client/trunk/Makefile

Modified: csw/mgar/pkg/imap-c-client/trunk/Makefile
===================================================================
--- csw/mgar/pkg/imap-c-client/trunk/Makefile	2012-06-12 02:17:08 UTC (rev 18351)
+++ csw/mgar/pkg/imap-c-client/trunk/Makefile	2012-06-12 02:26:57 UTC (rev 18352)
@@ -46,12 +46,13 @@
 CHECKPKG_OVERRIDES_CSWlibc-client2007f += file-with-bad-content|/usr/share|root/opt/csw/lib/libc-client.2007f.so
 CHECKPKG_OVERRIDES_CSWlibc-client2007f += soname-equals-filename|file=/opt/csw/lib/libc-client.2007f.so
 
-PACKAGES += CSWlibc-client2007f-dev
-SPKG_DESC_CSWlibc-client2007f-dev = Development files for $(NAME) $(DISTVERSION)
-PKGFILES_CSWlibc-client2007f-dev = $(PKGFILES_DEVEL_INCLUDEDIR)
-RUNTIME_DEP_PKGS_CSWlibc-client2007f-dev += CSWlibc-client2007f
-OBSOLETED_BY_CSWlibc-client2007f-dev = CSWimap-devel
-CHECKPKG_OVERRIDES_CSWlibc-client2007f-dev += surplus-dependency|CSWlibc-client2007f
+PACKAGES += CSWlibc-client-dev
+SPKG_DESC_CSWlibc-client-dev = Development files for $(NAME) $(DISTVERSION)
+PKGFILES_CSWlibc-client-dev = $(PKGFILES_DEVEL_INCLUDEDIR)
+PKGFILES_CSWlibc-client-dev = $(libdir)/libc-client.so
+RUNTIME_DEP_PKGS_CSWlibc-client-dev += CSWlibc-client2007f
+OBSOLETED_BY_CSWlibc-client-dev = CSWimap-devel
+CHECKPKG_OVERRIDES_CSWlibc-client-dev += surplus-dependency|CSWlibc-client2007f
 
 CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS = custom
@@ -76,6 +77,7 @@
 	ginstall -p -m644 $(WORKSRC)/c-client/linkage.c $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 \
 		$(WORKSRC)/src/osdep/tops-20/shortsym.h $(DESTDIR)$(includedir)/imap
+	cd $(DESTDIR)$(libdir); ln -s libc-client.$(DISTVERSION).so libc-client.so
 	@$(MAKECOOKIE)
 
 post-merge:

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