diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-08 14:10:22 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-09-08 14:10:22 +0000 |
commit | 9a10233201b7f1214eb155f26584641fa45cbe15 (patch) | |
tree | 71f3abaea91f4770dbc3a80675dfa4c79729ab74 /app-arch | |
parent | Move back to kde herd. (diff) | |
download | gentoo-2-9a10233201b7f1214eb155f26584641fa45cbe15.tar.gz gentoo-2-9a10233201b7f1214eb155f26584641fa45cbe15.tar.bz2 gentoo-2-9a10233201b7f1214eb155f26584641fa45cbe15.zip |
Version bump and remove old version.
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/bsdtar/ChangeLog | 8 | ||||
-rw-r--r-- | app-arch/bsdtar/bsdtar-1.3.1.ebuild | 71 | ||||
-rw-r--r-- | app-arch/bsdtar/files/digest-bsdtar-1.3.1 | 3 |
3 files changed, 81 insertions, 1 deletions
diff --git a/app-arch/bsdtar/ChangeLog b/app-arch/bsdtar/ChangeLog index 97ff626646b4..457ee8a93fe3 100644 --- a/app-arch/bsdtar/ChangeLog +++ b/app-arch/bsdtar/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-arch/bsdtar # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.33 2006/09/02 20:56:41 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/ChangeLog,v 1.34 2006/09/08 14:10:22 flameeyes Exp $ + +*bsdtar-1.3.1 (08 Sep 2006) + + 08 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + -bsdtar-1.2.53-r1.ebuild, +bsdtar-1.3.1.ebuild: + Version bump and remove old version. *bsdtar-1.2.57 (02 Sep 2006) diff --git a/app-arch/bsdtar/bsdtar-1.3.1.ebuild b/app-arch/bsdtar/bsdtar-1.3.1.ebuild new file mode 100644 index 000000000000..4a8ce6eebf2b --- /dev/null +++ b/app-arch/bsdtar/bsdtar-1.3.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/bsdtar/bsdtar-1.3.1.ebuild,v 1.1 2006/09/08 14:10:22 flameeyes Exp $ + +inherit eutils autotools toolchain-funcs + +MY_P="libarchive-${PV}" + +DESCRIPTION="BSD tar command" +HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/" +SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc-macos ~x86 ~x86-fbsd" +IUSE="build static acl xattr" + +RDEPEND="!dev-libs/libarchive + kernel_linux? ( + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr ) + )" +DEPEND="kernel_linux? ( sys-fs/e2fsprogs + virtual/os-headers )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/libarchive-1.2.51-linking.patch + epatch "${FILESDIR}"/libarchive-1.2.57-acl.patch + epatch "${FILESDIR}"/libarchive-1.2.53-strict-aliasing.patch + + eautoreconf + epunt_cxx +} + +src_compile() { + local myconf + + if use static || use build ; then + myconf="${myconf} --enable-static-bsdtar" + else + myconf="${myconf} --disable-static-bsdtar" + fi + + econf \ + --bindir=/bin \ + $(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.gz /usr/share/man/man1/tar.1.gz + fi + + if [[ ${CHOST} != *-darwin* ]]; then + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir) + gen_usr_ldscript libarchive.so + fi +} diff --git a/app-arch/bsdtar/files/digest-bsdtar-1.3.1 b/app-arch/bsdtar/files/digest-bsdtar-1.3.1 new file mode 100644 index 000000000000..853d5013146e --- /dev/null +++ b/app-arch/bsdtar/files/digest-bsdtar-1.3.1 @@ -0,0 +1,3 @@ +MD5 c618d26d680ace57fcd5f59cea3151c6 libarchive-1.3.1.tar.gz 901173 +RMD160 e518f802d9a50afcfede6dd7cbb4f42b2cbe12a1 libarchive-1.3.1.tar.gz 901173 +SHA256 ad9eaf5779df75b9a0618a732eb227792e65db17c6713fe81ef5bff2bbc616a8 libarchive-1.3.1.tar.gz 901173 |