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.23.ebuild
Date: Fri, 28 Dec 2007 20:51:13
Message-Id: E1J8MAf-0004tg-2U@stork.gentoo.org
1 vapier 07/12/28 20:51:09
2
3 Modified: ChangeLog
4 Added: file-4.23.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.154 sys-apps/file/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?rev=1.154&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?rev=1.154&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/ChangeLog?r1=1.153&r2=1.154
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v
19 retrieving revision 1.153
20 retrieving revision 1.154
21 diff -u -r1.153 -r1.154
22 --- ChangeLog 27 Dec 2007 18:34:53 -0000 1.153
23 +++ ChangeLog 28 Dec 2007 20:51:08 -0000 1.154
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/file
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.153 2007/12/27 18:34:53 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.154 2007/12/28 20:51:08 vapier Exp $
29 +
30 +*file-4.23 (28 Dec 2007)
31 +
32 + 28 Dec 2007; Mike Frysinger <vapier@g.o> +file-4.23.ebuild:
33 + Version bump.
34
35 *file-4.22 (27 Dec 2007)
36
37
38
39
40 1.1 sys-apps/file/file-4.23.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/file-4.23.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/file/file-4.23.ebuild?rev=1.1&content-type=text/plain
44
45 Index: file-4.23.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.23.ebuild,v 1.1 2007/12/28 20:51:08 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@g.o mailing list