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.4.11.ebuild libarchive-2.4.10.ebuild libarchive-2.4.8.ebuild |
Date: | Mon, 31 Dec 2007 17:30:36 |
Message-Id: | E1J9OT3-00071M-Ht@stork.gentoo.org |
1 | flameeyes 07/12/31 17:30:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libarchive-2.4.11.ebuild |
5 | Removed: libarchive-2.4.10.ebuild libarchive-2.4.8.ebuild |
6 | Log: |
7 | Version bump and remove old versions. |
8 | (Portage version: 2.1.4_rc13) |
9 | |
10 | Revision Changes Path |
11 | 1.15 app-arch/libarchive/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.15&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.15&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.14&r2=1.15 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v |
20 | retrieving revision 1.14 |
21 | retrieving revision 1.15 |
22 | diff -u -r1.14 -r1.15 |
23 | --- ChangeLog 29 Dec 2007 15:41:59 -0000 1.14 |
24 | +++ ChangeLog 31 Dec 2007 17:30:24 -0000 1.15 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for app-arch/libarchive |
27 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.14 2007/12/29 15:41:59 flameeyes Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.15 2007/12/31 17:30:24 flameeyes Exp $ |
30 | + |
31 | +*libarchive-2.4.11 (31 Dec 2007) |
32 | + |
33 | + 31 Dec 2007; Diego Pettenò <flameeyes@g.o> |
34 | + -libarchive-2.4.8.ebuild, -libarchive-2.4.10.ebuild, |
35 | + +libarchive-2.4.11.ebuild: |
36 | + Version bump and remove old versions. |
37 | |
38 | *libarchive-2.4.10 (29 Dec 2007) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-arch/libarchive/libarchive-2.4.11.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.11.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.11.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: libarchive-2.4.11.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2007 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.11.ebuild,v 1.1 2007/12/31 17:30:24 flameeyes Exp $ |
53 | |
54 | inherit eutils libtool toolchain-funcs |
55 | |
56 | DESCRIPTION="BSD tar command" |
57 | HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive" |
58 | SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz" |
59 | |
60 | LICENSE="BSD" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd" |
63 | IUSE="build static acl xattr kernel_linux" |
64 | |
65 | RDEPEND="!dev-libs/libarchive |
66 | kernel_linux? ( |
67 | acl? ( sys-apps/acl ) |
68 | xattr? ( sys-apps/attr ) |
69 | ) |
70 | !static? ( !build? ( |
71 | app-arch/bzip2 |
72 | sys-libs/zlib ) )" |
73 | DEPEND="${RDEPEND} |
74 | kernel_linux? ( sys-fs/e2fsprogs |
75 | virtual/os-headers )" |
76 | |
77 | src_unpack() { |
78 | unpack ${A} |
79 | cd "${S}" |
80 | elibtoolize |
81 | epunt_cxx |
82 | } |
83 | |
84 | src_compile() { |
85 | local myconf |
86 | |
87 | if ! use static && ! use build ; then |
88 | myconf="--enable-bsdtar=shared --enable-bsdcpio=shared" |
89 | fi |
90 | |
91 | econf --bindir=/bin --enable-bsdcpio \ |
92 | $(use_enable acl) $(use_enable xattr) \ |
93 | ${myconf} || die "econf failed." |
94 | |
95 | emake || die "emake failed." |
96 | } |
97 | |
98 | src_install() { |
99 | emake -j1 DESTDIR="${D}" install || die "emake install failed." |
100 | |
101 | # Create tar symlink for FreeBSD |
102 | if [[ ${CHOST} == *-freebsd* ]]; then |
103 | dosym bsdtar /bin/tar |
104 | dosym bsdtar.1 /usr/share/man/man1/tar.1 |
105 | # We may wish to switch to symlink bsdcpio to cpio too one day |
106 | fi |
107 | |
108 | dodoc NEWS README |
109 | |
110 | if use build; then |
111 | rm -rf "${D}"/usr |
112 | rm -rf "${D}"/lib/*.so* |
113 | return 0 |
114 | fi |
115 | |
116 | dodir /$(get_libdir) |
117 | mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir) |
118 | gen_usr_ldscript libarchive.so |
119 | } |
120 | |
121 | |
122 | |
123 | -- |
124 | gentoo-commits@g.o mailing list |