Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/file: ChangeLog file-4.24.ebuild
Date: Fri, 28 Mar 2008 18:49:11
Message-Id: E1JfJdT-00038N-No@stork.gentoo.org
1 vapier 08/03/28 18:49:07
2
3 Modified: ChangeLog
4 Added: file-4.24.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.159 sys-apps/file/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?rev=1.159&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?rev=1.159&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?r1=1.158&r2=1.159
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v
19 retrieving revision 1.158
20 retrieving revision 1.159
21 diff -u -r1.158 -r1.159
22 --- ChangeLog 28 Mar 2008 15:26:47 -0000 1.158
23 +++ ChangeLog 28 Mar 2008 18:49:07 -0000 1.159
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/file
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.158 2008/03/28 15:26:47 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.159 2008/03/28 18:49:07 vapier Exp $
29 +
30 +*file-4.24 (28 Mar 2008)
31 +
32 + 28 Mar 2008; Mike Frysinger <vapier@g.o> +file-4.24.ebuild:
33 + Version bump.
34
35 28 Mar 2008; Brent Baude <ranger@g.o> file-4.23.ebuild:
36 stable ppc, bug 215058
37
38
39
40 1.1 sys-apps/file/file-4.24.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/file-4.24.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/file-4.24.ebuild?rev=1.1&content-type=text/plain
44
45 Index: file-4.24.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-4.24.ebuild,v 1.1 2008/03/28 18:49:07 vapier Exp $
50
51 inherit eutils distutils libtool flag-o-matic
52
53 DESCRIPTION="identify a file's format by scanning binary data for patterns"
54 HOMEPAGE="ftp://ftp.astron.com/pub/file/"
55 SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
56 ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz"
57
58 LICENSE="as-is"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="python"
62
63 DEPEND=""
64
65 src_unpack() {
66 unpack ${P}.tar.gz
67 cd "${S}"
68
69 epatch "${FILESDIR}"/${PN}-4.15-libtool.patch #99593
70
71 elibtoolize
72 epunt_cxx
73
74 # make sure python links against the current libmagic #54401
75 sed -i "/library_dirs/s:'\.\./src':'../src/.libs':" python/setup.py
76
77 # dont let python README kill main README #60043
78 mv python/README{,.python}
79 }
80
81 src_compile() {
82 # file uses things like strndup() and wcwidth()
83 append-flags -D_GNU_SOURCE
84
85 econf --datadir=/usr/share/misc || die
86 emake || die "emake failed"
87
88 use python && cd python && distutils_src_compile
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "make install failed"
93 dodoc ChangeLog MAINT README
94
95 use python && cd python && distutils_src_install
96 }
97
98 pkg_postinst() {
99 use python && distutils_pkg_postinst
100 }
101
102 pkg_postrm() {
103 use python && distutils_pkg_postrm
104 }
105
106
107
108 --
109 gentoo-commits@l.g.o mailing list