[csw-devel] SF.net SVN: gar:[21325] csw/mgar/pkg/libyaml/branches
Maciej (Matchek) Bliziński
maciej at opencsw.org
Thu Jun 13 12:38:56 CEST 2013
2013/6/12 <lblume at users.sourceforge.net>
>
> Revision: 21325
> http://gar.svn.sourceforge.net/gar/?rev=21325&view=rev
> Author: lblume
> Date: 2013-06-12 13:52:17 +0000 (Wed, 12 Jun 2013)
> Log Message:
> -----------
> libyaml/branches/libyaml0_1/trunk: Add a backward compatibility lib for the old .so.1 (v0.1.2)
>
> Added Paths:
> -----------
> csw/mgar/pkg/libyaml/branches/libyaml0_1/
> csw/mgar/pkg/libyaml/branches/libyaml0_1/Makefile
> csw/mgar/pkg/libyaml/branches/libyaml0_1/branches/
> csw/mgar/pkg/libyaml/branches/libyaml0_1/tags/
> csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/
> csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/Makefile
> csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/checksums
> csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/files/
>
> Added: csw/mgar/pkg/libyaml/branches/libyaml0_1/Makefile
> ===================================================================
> --- csw/mgar/pkg/libyaml/branches/libyaml0_1/Makefile (rev 0)
> +++ csw/mgar/pkg/libyaml/branches/libyaml0_1/Makefile 2013-06-12 13:52:17 UTC (rev 21325)
> @@ -0,0 +1,2 @@
> +%:
> + $(MAKE) -C trunk $*
>
>
> Property changes on: csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk
> ___________________________________________________________________
> Added: svn:ignore
> + work
>
>
> Added: csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/Makefile
> ===================================================================
> --- csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/Makefile (rev 0)
> +++ csw/mgar/pkg/libyaml/branches/libyaml0_1/trunk/Makefile 2013-06-12 13:52:17 UTC (rev 21325)
> @@ -0,0 +1,32 @@
> +# Copyright 2009 OpenCSW
> +# Distributed under the terms of the GNU General Public License v2
> +# $Id$
> +
> +NAME = libyaml
> +VERSION = 0.1.2
> +GARTYPE = v2
> +
> +DESCRIPTION = A YAML 1.1 parser and emitter written in C
> +define BLURB
> +endef
The BLURB thing is not necessary, we don't use it for anything.
> +
> +VENDOR_URL = http://pyyaml.org/wiki/LibYAML?version=20
> +MASTER_SITES = http://pyyaml.org/download/libyaml/
> +DISTFILES = yaml-$(VERSION).tar.gz
> +UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
UFILES_REGEX is automated.
> +TEST_SCRIPTS =
> +
> +PACKAGES += CSWlibyaml0-1
> +CATALOGNAME_CSWlibyaml0-1 = libyaml0_1
> +PKGFILES_CSWlibyaml0-1 += $(call baseisadirs,$(libdir),libyaml-0\.so\.1\.1\.0)
The above line is not necessary -- covered by the one below.
> +PKGFILES_CSWlibyaml0-1 += $(call baseisadirs,$(libdir),libyaml-0\.so\.1(\.\d+)*)
> +SPKG_DESC_CSWlibyaml0-1 += $(DESCRIPTION), libyaml-0.so.1
> +OBSOLETED_BY_CSWlibyaml0-1 = CSWlibyaml
Looks good.
> +CATALOGNAME_CSWlibyaml = libyaml_stub
> +
> +CONFIGURE_ARGS = $(DIRPATHS)
> +BUILD64_LIBS_ONLY = 1
> +WORKSRC = $(WORKDIR)/yaml-$(VERSION)
I forget why the above line is necessary. In most cases, you don't
need to set WORKSRC. Maybe you can set DISTNAME instead?
More information about the devel
mailing list