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.4.13.ebuild libarchive-2.4.11.ebuild
Date: Tue, 26 Feb 2008 12:31:43
Message-Id: E1JTyyB-00082z-M0@stork.gentoo.org
1 flameeyes 08/02/26 12:31:39
2
3 Modified: ChangeLog
4 Added: libarchive-2.4.13.ebuild
5 Removed: libarchive-2.4.11.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.18 app-arch/libarchive/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 23 Jan 2008 17:50:15 -0000 1.17
24 +++ ChangeLog 26 Feb 2008 12:31:39 -0000 1.18
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-arch/libarchive
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.17 2008/01/23 17:50:15 drac Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.18 2008/02/26 12:31:39 flameeyes Exp $
30 +
31 +*libarchive-2.4.13 (26 Feb 2008)
32 +
33 + 26 Feb 2008; Diego Pettenò <flameeyes@g.o>
34 + -libarchive-2.4.11.ebuild, +libarchive-2.4.13.ebuild:
35 + Version bump.
36
37 23 Jan 2008; Samuli Suominen <drac@g.o> libarchive-2.4.12.ebuild:
38 Needs uudecode from sharutils or freebsd-ubin.
39
40
41
42 1.1 app-arch/libarchive/libarchive-2.4.13.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libarchive-2.4.13.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.4.13.ebuild,v 1.1 2008/02/26 12:31:39 flameeyes Exp $
52
53 inherit eutils libtool toolchain-funcs
54
55 DESCRIPTION="BSD tar command"
56 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
57 SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
62 IUSE="build static acl xattr kernel_linux"
63
64 RDEPEND="!dev-libs/libarchive
65 kernel_linux? (
66 acl? ( sys-apps/acl )
67 xattr? ( sys-apps/attr )
68 )
69 !static? ( !build? (
70 app-arch/bzip2
71 sys-libs/zlib ) )"
72 DEPEND="${RDEPEND}
73 || ( app-arch/sharutils sys-freebsd/freebsd-ubin )
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} \
94 --disable-dependency-tracking || die "econf failed."
95
96 emake || die "emake failed."
97 }
98
99 src_install() {
100 emake -j1 DESTDIR="${D}" install || die "emake install failed."
101
102 # Create tar symlink for FreeBSD
103 if [[ ${CHOST} == *-freebsd* ]]; then
104 dosym bsdtar /bin/tar
105 dosym bsdtar.1 /usr/share/man/man1/tar.1
106 # We may wish to switch to symlink bsdcpio to cpio too one day
107 fi
108
109 dodoc NEWS README
110
111 if use build; then
112 rm -rf "${D}"/usr
113 rm -rf "${D}"/lib/*.so*
114 return 0
115 fi
116
117 dodir /$(get_libdir)
118 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
119 gen_usr_ldscript libarchive.so
120 }
121
122
123
124 --
125 gentoo-commits@l.g.o mailing list