[csw-devel] SF.net SVN: gar:[21946] csw/mgar/pkg/libid3tag/trunk/Makefile
Dagobert Michelsen
dam at opencsw.org
Mon Sep 16 19:30:13 CEST 2013
Hi Laurent,
Am 16.09.2013 um 15:07 schrieb lblume at users.sourceforge.net:
> Revision: 21946
> http://gar.svn.sourceforge.net/gar/?rev=21946&view=rev
> Author: lblume
> Date: 2013-09-16 13:07:51 +0000 (Mon, 16 Sep 2013)
> Log Message:
> -----------
> libid3tag/trunk: Split the package properly; update deps
>
> Modified Paths:
> --------------
> csw/mgar/pkg/libid3tag/trunk/Makefile
>
> Modified: csw/mgar/pkg/libid3tag/trunk/Makefile
> ===================================================================
> --- csw/mgar/pkg/libid3tag/trunk/Makefile 2013-09-16 08:38:00 UTC (rev 21945)
> +++ csw/mgar/pkg/libid3tag/trunk/Makefile 2013-09-16 13:07:51 UTC (rev 21946)
> @@ -1,6 +1,6 @@
> -NAME = libid3tag
> +NAME = libid3tag
> VERSION = 0.15.1
> -REV = b
> +REV = b
> GARTYPE = v2
>
> DESCRIPTION = A library for reading and (eventually) writing ID3 tags
> @@ -23,10 +23,25 @@
>
> CONFIGURE_ARGS = $(DIRPATHS)
>
> +SPKG_VERSION := $(SPKG_VERSION)_rev=$(REV)
You can also set the version now to arbitrary strings directly, like
VERSION = 0.15.1b
depending in the further use in WORKSRC and DISTNAME. The SPKG_VERSION hack was at times
when the version number was not allowed to have strings.
> +
> +PACKAGES += CSWlibid3tag0
> +CATALOGNAME_CSWlibid3tag0 = libid3tag0
> +PKGFILES_CSWlibid3tag0 += $(call baseisadirs,$(libdir),libid3tag\.so\.0\.3\.0)
> +PKGFILES_CSWlibid3tag0 += $(call baseisadirs,$(libdir),libid3tag\.so\.0(\.\d+)*)
You can also use the more precise
$(call pkgfiles_lib,libid3tag.so.0)
which has a simlar expansion.
> +SPKG_DESC_CSWlibid3tag0 += $(DESCRIPTION), libid3tag.so.0
> +RUNTIME_DEP_PKGS_CSWlibid3tag0 += CSWlibgcc-s1
> +RUNTIME_DEP_PKGS_CSWlibid3tag0 += CSWlibz1
> +OBSOLETED_BY_CSWlibid3tag0 += CSWlibid3tag
> +
> +PACKAGES += CSWlibid3tag-dev
> +CATALOGNAME_CSWlibid3tag-dev = libid3tag_dev
> +SPKG_DESC_CSWlibid3tag-dev += $(DESCRIPTION), development files
> +PKGFILES_CSWlibid3tag-dev += $(PKGFILES_DEVEL)
> +RUNTIME_DEP_PKGS_CSWlibid3tag-dev += CSWlibid3tag0
> +
> include gar/category.mk
>
> -SPKG_VERSION := $(SPKG_VERSION)_rev=$(REV)
Best regards
-- Dago
> -
> post-install-modulated:
> @ginstall -d $(DESTDIR)$(libdir)/pkgconfig
> @ginstall $(WORKDIR)/id3tag.pc-$(MEMORYMODEL) $(DESTDIR)$(libdir)/pkgconfig/id3tag.pc
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> _______________________________________________
> devel mailing list
> devel at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/devel
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2351 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20130916/21d42351/attachment.p7s>
More information about the devel
mailing list