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