Gentoo Archives: gentoo-commits

From: "Timothy Redaelli (drizzt)" <drizzt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.3.3.ebuild
Date: Thu, 04 Oct 2007 10:02:59
Message-Id: E1IdNOr-00047C-RX@stork.gentoo.org
1 drizzt 07/10/04 09:53:45
2
3 Modified: ChangeLog
4 Added: libarchive-2.3.3.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.3.11)
9
10 Revision Changes Path
11 1.3 app-arch/libarchive/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 14 Jul 2007 13:24:41 -0000 1.2
24 +++ ChangeLog 4 Oct 2007 09:53:45 -0000 1.3
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.2 2007/07/14 13:24:41 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.3 2007/10/04 09:53:45 drizzt Exp $
30 +
31 +*libarchive-2.3.3 (04 Oct 2007)
32 +
33 + 04 Oct 2007; <drizzt@g.o> +libarchive-2.3.3.ebuild:
34 + Version bump
35
36 *libarchive-2.2.5 (14 Jul 2007)
37
38
39
40
41 1.1 app-arch/libarchive/libarchive-2.3.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.3.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.3.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libarchive-2.3.3.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.3.3.ebuild,v 1.1 2007/10/04 09:53:45 drizzt Exp $
51
52 inherit eutils autotools toolchain-funcs flag-o-matic
53
54 MY_P="${P/_beta/b}"
55
56 DESCRIPTION="BSD tar command"
57 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
58 SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${MY_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"
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 S="${WORKDIR}/${MY_P}"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 epatch "${FILESDIR}"/${PN}-2.1.5-acl.patch
84
85 eautoreconf
86 epunt_cxx
87 }
88
89 src_compile() {
90 local myconf
91
92 if use static || use build ; then
93 myconf="${myconf} --enable-static-bsdtar"
94 else
95 myconf="${myconf} --disable-static-bsdtar"
96 fi
97
98 # Upstream doesn't seem to care to fix the problems
99 # and I don't want to continue running after them.
100 #append-flags -fno-strict-aliasing
101
102 econf \
103 --bindir=/bin \
104 $(use_enable acl) \
105 $(use_enable xattr) \
106 ${myconf} || die "econf failed"
107 emake || die "emake failed"
108 }
109
110 src_install() {
111 emake -j1 DESTDIR="${D}" install || die "emake install failed"
112
113 # Create tar symlink for FreeBSD
114 if [[ ${CHOST} == *-freebsd* ]]; then
115 dosym bsdtar /bin/tar
116 dosym bsdtar.1 /usr/share/man/man1/tar.1
117 fi
118
119 if use build; then
120 rm -rf "${D}"/usr
121 rm -rf "${D}"/lib/*.so*
122 return 0
123 fi
124
125 dodir /$(get_libdir)
126 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
127 gen_usr_ldscript libarchive.so
128 }
129
130
131
132 --
133 gentoo-commits@g.o mailing list