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