diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-12-03 15:43:17 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-12-03 15:43:17 +0000 |
commit | 4f9b2857972bd52162d6f2e942bc6343f9e84164 (patch) | |
tree | 9120ef35f327071ec9f423f4a6e37e18915fa2a8 /app-arch/libarchive | |
parent | Version bump. (diff) | |
download | gentoo-2-4f9b2857972bd52162d6f2e942bc6343f9e84164.tar.gz gentoo-2-4f9b2857972bd52162d6f2e942bc6343f9e84164.tar.bz2 gentoo-2-4f9b2857972bd52162d6f2e942bc6343f9e84164.zip |
Version bump.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r-- | app-arch/libarchive/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/libarchive/files/digest-libarchive-2.4.2 | 3 | ||||
-rw-r--r-- | app-arch/libarchive/libarchive-2.4.2.ebuild | 71 |
3 files changed, 80 insertions, 1 deletions
diff --git a/app-arch/libarchive/ChangeLog b/app-arch/libarchive/ChangeLog index 6012b8207440..0e88b2044e19 100644 --- a/app-arch/libarchive/ChangeLog +++ b/app-arch/libarchive/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/libarchive # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.7 2007/11/06 20:55:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.8 2007/12/03 15:43:16 drac Exp $ + +*libarchive-2.4.2 (03 Dec 2007) + + 03 Dec 2007; Samuli Suominen <drac@gentoo.org> +libarchive-2.4.2.ebuild: + Version bump. *libarchive-2.4.0-r1 (06 Nov 2007) diff --git a/app-arch/libarchive/files/digest-libarchive-2.4.2 b/app-arch/libarchive/files/digest-libarchive-2.4.2 new file mode 100644 index 000000000000..2e417df73954 --- /dev/null +++ b/app-arch/libarchive/files/digest-libarchive-2.4.2 @@ -0,0 +1,3 @@ +MD5 32e44a8140d067aa64894b27f29b045d libarchive-2.4.2.tar.gz 793477 +RMD160 2bb633ba47398f27d7ae400fb79e6248698b58c7 libarchive-2.4.2.tar.gz 793477 +SHA256 5aa9a30ab07b626454e9dcb469c7785dd999f3f88de71441cad10d71b5b1d350 libarchive-2.4.2.tar.gz 793477 diff --git a/app-arch/libarchive/libarchive-2.4.2.ebuild b/app-arch/libarchive/libarchive-2.4.2.ebuild new file mode 100644 index 000000000000..1dc64f3c7a60 --- /dev/null +++ b/app-arch/libarchive/libarchive-2.4.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.2.ebuild,v 1.1 2007/12/03 15:43:16 drac Exp $ + +inherit eutils autotools toolchain-funcs flag-o-matic + +DESCRIPTION="BSD tar command" +HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive" +SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="build static acl xattr kernel_linux" + +RDEPEND="!dev-libs/libarchive + kernel_linux? ( + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr ) + ) + !static? ( !build? ( + app-arch/bzip2 + sys-libs/zlib ) )" +DEPEND="${RDEPEND} + kernel_linux? ( sys-fs/e2fsprogs + virtual/os-headers )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.1.5-acl.patch + eautoreconf + epunt_cxx +} + +src_compile() { + local myconf + + if ! use static && ! use build ; then + myconf="--enable-bsdtar=shared --enable-bsdcpio=shared" + fi + + econf --bindir=/bin --enable-bsdcpio \ + $(use_enable acl) $(use_enable xattr) \ + ${myconf} || die "econf failed." + + emake || die "emake failed." +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "emake install failed" + + # Create tar symlink for FreeBSD + if [[ ${CHOST} == *-freebsd* ]]; then + dosym bsdtar /bin/tar + dosym bsdtar.1 /usr/share/man/man1/tar.1 + # We may wish to switch to symlink bsdcpio to cpio too one day + fi + + dodoc README NEWS + + if use build; then + rm -rf "${D}"/usr + rm -rf "${D}"/lib/*.so* + return 0 + fi + + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir) + gen_usr_ldscript libarchive.so +} |