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