Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.6.2.ebuild libarchive-2.5.5.ebuild
Date: Fri, 27 Feb 2009 09:59:59
Message-Id: E1LczVd-0001CK-Dh@stork.gentoo.org
1 flameeyes 09/02/27 09:59:57
2
3 Modified: ChangeLog
4 Added: libarchive-2.6.2.ebuild
5 Removed: libarchive-2.5.5.ebuild
6 Log:
7 Version bump, remove old version.
8 (Portage version: 2.2_rc23/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.43 app-arch/libarchive/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 1 Feb 2009 20:47:26 -0000 1.42
24 +++ ChangeLog 27 Feb 2009 09:59:57 -0000 1.43
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-arch/libarchive
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.42 2009/02/01 20:47:26 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.43 2009/02/27 09:59:57 flameeyes Exp $
30 +
31 +*libarchive-2.6.2 (27 Feb 2009)
32 +
33 + 27 Feb 2009; Diego E. Pettenò <flameeyes@g.o>
34 + -libarchive-2.5.5.ebuild, +libarchive-2.6.2.ebuild:
35 + Version bump, remove old version.
36
37 01 Feb 2009; Markus Meier <maekke@g.o> libarchive-2.6.0.ebuild:
38 amd64/x86 stable, bug #257165
39
40
41
42 1.1 app-arch/libarchive/libarchive-2.6.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.6.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.6.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libarchive-2.6.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.6.2.ebuild,v 1.1 2009/02/27 09:59:57 flameeyes Exp $
52
53 EAPI=1
54
55 inherit eutils libtool toolchain-funcs
56
57 DESCRIPTION="BSD tar command"
58 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
59 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
60 http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="static acl xattr kernel_linux +bzip2 +lzma +zlib"
66
67 COMPRESS_LIBS_DEPEND="lzma? ( app-arch/lzma-utils )
68 bzip2? ( app-arch/bzip2 )
69 zlib? ( sys-libs/zlib )"
70
71 RDEPEND="!dev-libs/libarchive
72 kernel_linux? (
73 acl? ( sys-apps/acl )
74 xattr? ( sys-apps/attr )
75 )
76 !static? ( ${COMPRESS_LIBS_DEPEND} )"
77 DEPEND="${RDEPEND}
78 ${COMPRESS_LIBS_DEPEND}
79 kernel_linux? ( sys-fs/e2fsprogs
80 virtual/os-headers )"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85 elibtoolize
86 epunt_cxx
87 }
88
89 src_compile() {
90 local myconf
91
92 if ! use static ; then
93 myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
94 fi
95
96 econf --bindir=/bin \
97 --enable-bsdtar --enable-bsdcpio \
98 $(use_enable acl) $(use_enable xattr) \
99 $(use_with zlib) \
100 $(use_with bzip2 bz2lib) $(use_with lzma lzmadec) \
101 ${myconf} \
102 --disable-dependency-tracking || die "econf failed."
103
104 emake || die "emake failed."
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" install || die "emake install failed."
109
110 # Create tar symlink for FreeBSD
111 if [[ ${CHOST} == *-freebsd* ]]; then
112 dosym bsdtar /bin/tar
113 dosym bsdtar.1 /usr/share/man/man1/tar.1
114 # We may wish to switch to symlink bsdcpio to cpio too one day
115 fi
116
117 dodoc NEWS README
118 dodir /$(get_libdir)
119 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
120 gen_usr_ldscript libarchive.so
121 }