summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-29 15:42:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-12-29 15:42:00 +0000
commit380e7e6f62e805e5dd1668a0bdfcd9e2555a2a6d (patch)
treefba337f91062cbf33fe6eb931459de2b48c10efc /app-arch/libarchive
parentKeyworded ~amd64; bug 202996 (diff)
downloadgentoo-2-380e7e6f62e805e5dd1668a0bdfcd9e2555a2a6d.tar.gz
gentoo-2-380e7e6f62e805e5dd1668a0bdfcd9e2555a2a6d.tar.bz2
gentoo-2-380e7e6f62e805e5dd1668a0bdfcd9e2555a2a6d.zip
Version bump.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r--app-arch/libarchive/ChangeLog8
-rw-r--r--app-arch/libarchive/files/digest-libarchive-2.4.103
-rw-r--r--app-arch/libarchive/libarchive-2.4.10.ebuild70
3 files changed, 80 insertions, 1 deletions
diff --git a/app-arch/libarchive/ChangeLog b/app-arch/libarchive/ChangeLog
index d4cb50a61506..48ade649d1e7 100644
--- a/app-arch/libarchive/ChangeLog
+++ b/app-arch/libarchive/ChangeLog
@@ -1,6 +1,12 @@
# 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.13 2007/12/14 08:20:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.14 2007/12/29 15:41:59 flameeyes Exp $
+
+*libarchive-2.4.10 (29 Dec 2007)
+
+ 29 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +libarchive-2.4.10.ebuild:
+ Version bump.
*libarchive-2.4.8 (14 Dec 2007)
diff --git a/app-arch/libarchive/files/digest-libarchive-2.4.10 b/app-arch/libarchive/files/digest-libarchive-2.4.10
new file mode 100644
index 000000000000..ba273eb5fea5
--- /dev/null
+++ b/app-arch/libarchive/files/digest-libarchive-2.4.10
@@ -0,0 +1,3 @@
+MD5 e6550accf44403fc022185cad578aaed libarchive-2.4.10.tar.gz 815263
+RMD160 3d3608c1ff68f52f9241fb3bb95bc4393399a4cf libarchive-2.4.10.tar.gz 815263
+SHA256 8568bb13d6c0d7dd5bc011992eb1d6097de6ff06bdf997bd47fa9da0a578ff40 libarchive-2.4.10.tar.gz 815263
diff --git a/app-arch/libarchive/libarchive-2.4.10.ebuild b/app-arch/libarchive/libarchive-2.4.10.ebuild
new file mode 100644
index 000000000000..e2a94b507e64
--- /dev/null
+++ b/app-arch/libarchive/libarchive-2.4.10.ebuild
@@ -0,0 +1,70 @@
+# 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.10.ebuild,v 1.1 2007/12/29 15:41:59 flameeyes Exp $
+
+inherit eutils libtool toolchain-funcs
+
+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}"
+ elibtoolize
+ 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 NEWS README
+
+ 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
+}