Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.4.5.ebuild libarchive-2.4.4.ebuild libarchive-2.4.2.ebuild
Date: Wed, 05 Dec 2007 14:51:39
Message-Id: E1Izvaz-0007HK-Tq@stork.gentoo.org
1 drac 07/12/05 14:51:29
2
3 Modified: ChangeLog
4 Added: libarchive-2.4.5.ebuild
5 Removed: libarchive-2.4.4.ebuild libarchive-2.4.2.ebuild
6 Log:
7 Version bump, test suite works now.
8 (Portage version: 2.1.4_rc7)
9
10 Revision Changes Path
11 1.10 app-arch/libarchive/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 4 Dec 2007 16:24:53 -0000 1.9
24 +++ ChangeLog 5 Dec 2007 14:51:29 -0000 1.10
25 @@ -1,6 +1,11 @@
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.9 2007/12/04 16:24:53 drac Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.10 2007/12/05 14:51:29 drac Exp $
30 +
31 +*libarchive-2.4.5 (05 Dec 2007)
32 +
33 + 05 Dec 2007; Samuli Suominen <drac@g.o> +libarchive-2.4.5.ebuild:
34 + Version bump, test suite works now.
35
36 *libarchive-2.4.4 (04 Dec 2007)
37
38
39
40
41 1.1 app-arch/libarchive/libarchive-2.4.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libarchive-2.4.5.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.5.ebuild,v 1.1 2007/12/05 14:51:29 drac 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