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