diff options
author | Dror Levin <spatz@gentoo.org> | 2010-04-06 22:33:03 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2010-04-06 22:33:03 +0000 |
commit | f94eab94d6e3cd03581c9060a458543c26ddf801 (patch) | |
tree | d36e0f12453205038e4219231ad1d26d1073575a /app-arch | |
parent | Remove the jsr173 dep which is not needed. Bug #313573 thanks to Andrew John ... (diff) | |
download | gentoo-2-f94eab94d6e3cd03581c9060a458543c26ddf801.tar.gz gentoo-2-f94eab94d6e3cd03581c9060a458543c26ddf801.tar.bz2 gentoo-2-f94eab94d6e3cd03581c9060a458543c26ddf801.zip |
Bump to EAPI 2, respect LDFLAGS (bug 209735). Take over maintainership.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xar/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/xar/files/xar-1.5.2-respect_ldflags.patch | 21 | ||||
-rw-r--r-- | app-arch/xar/metadata.xml | 4 | ||||
-rw-r--r-- | app-arch/xar/xar-1.5.2-r1.ebuild | 37 |
4 files changed, 67 insertions, 3 deletions
diff --git a/app-arch/xar/ChangeLog b/app-arch/xar/ChangeLog index 9030ee4e39a2..4265e04f4a66 100644 --- a/app-arch/xar/ChangeLog +++ b/app-arch/xar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-arch/xar # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/ChangeLog,v 1.18 2010/01/01 19:45:42 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/ChangeLog,v 1.19 2010/04/06 22:33:03 spatz Exp $ + +*xar-1.5.2-r1 (06 Apr 2010) + + 06 Apr 2010; Dror Levin <spatz@gentoo.org> +xar-1.5.2-r1.ebuild, + +files/xar-1.5.2-respect_ldflags.patch, metadata.xml: + Bump to EAPI 2, respect LDFLAGS (bug 209735). Take over maintainership. 01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> xar-1.5.2.ebuild: Transfer Prefix keywords diff --git a/app-arch/xar/files/xar-1.5.2-respect_ldflags.patch b/app-arch/xar/files/xar-1.5.2-respect_ldflags.patch new file mode 100644 index 000000000000..1ac090d94863 --- /dev/null +++ b/app-arch/xar/files/xar-1.5.2-respect_ldflags.patch @@ -0,0 +1,21 @@ +diff -ur xar-1.5.2.orig/lib/Makefile.inc.in xar-1.5.2/lib/Makefile.inc.in +--- xar-1.5.2.orig/lib/Makefile.inc.in 2007-12-29 20:49:57.000000000 +0200 ++++ xar-1.5.2/lib/Makefile.inc.in 2010-04-07 01:18:59.027890429 +0300 +@@ -134,7 +134,7 @@ + $(LIBRXAR_S) : $(LIBXAR_SRCS:@srcroot@%.c=@objroot@%.o) + @mkdir -p $(@D) + ifeq (elf, @abi@) +- $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ @LIBS@ ++ $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@ + endif + ifeq (macho, @abi@) + $(CC) -dynamiclib -compatibility_version @LIB_REV@ -current_version @LIB_REV@ -install_name @abs_objroot@$(LIBRXAR_S) -o $@ $+ $(LDFLAGS) @LIBS@ +@@ -150,7 +150,7 @@ + $(LIBXAR_S) : $(LIBXAR_SRCS:@srcroot@%.c=@objroot@%.o) + @mkdir -p $(@D) + ifeq (elf, @abi@) +- $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ @LIBS@ ++ $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@ + endif + ifeq (macho, @abi@) + $(CC) -dynamiclib -compatibility_version @LIB_REV@ -current_version @LIB_REV@ -install_name $(LIBDIR)/$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@ diff --git a/app-arch/xar/metadata.xml b/app-arch/xar/metadata.xml index acef19011ca8..3bfa522bf16b 100644 --- a/app-arch/xar/metadata.xml +++ b/app-arch/xar/metadata.xml @@ -3,8 +3,8 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>maintainer-needed@gentoo.org</email> - <name>Default assignee for orphaned packages</name> + <email>spatz@gentoo.org</email> + <name>Dror Levin</name> </maintainer> <longdescription lang="en"> The XAR project aims to provide an easily extensible archive format. diff --git a/app-arch/xar/xar-1.5.2-r1.ebuild b/app-arch/xar/xar-1.5.2-r1.ebuild new file mode 100644 index 000000000000..86b9d065cba1 --- /dev/null +++ b/app-arch/xar/xar-1.5.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.2-r1.ebuild,v 1.1 2010/04/06 22:33:03 spatz Exp $ + +EAPI=2 + +inherit autotools eutils + +DESCRIPTION="an easily extensible archive format" +HOMEPAGE="http://code.google.com/p/xar" +SRC_URI="http://xar.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="acl +bzip2" + +DEPEND="dev-libs/openssl + dev-libs/libxml2 + sys-libs/zlib + acl? ( sys-apps/acl ) + bzip2? ( app-arch/bzip2 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-automagic_acl_and_bzip2.patch \ + "${FILESDIR}"/${P}-respect_ldflags.patch + eautoconf +} + +src_configure() { + econf $(use_enable acl) $(use_enable bzip2) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc TODO +} |