1 |
polynomial-c 13/12/01 20:06:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: file-5.16.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.249 sys-apps/file/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?rev=1.249&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?rev=1.249&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?r1=1.248&r2=1.249 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v |
20 |
retrieving revision 1.248 |
21 |
retrieving revision 1.249 |
22 |
diff -u -r1.248 -r1.249 |
23 |
--- ChangeLog 1 Dec 2013 09:59:22 -0000 1.248 |
24 |
+++ ChangeLog 1 Dec 2013 20:06:01 -0000 1.249 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/file |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.248 2013/12/01 09:59:22 hattya Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.249 2013/12/01 20:06:01 polynomial-c Exp $ |
30 |
+ |
31 |
+*file-5.16 (01 Dec 2013) |
32 |
+ |
33 |
+ 01 Dec 2013; Lars Wendler <polynomial-c@g.o> +file-5.16.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
01 Dec 2013; Akinori Hattori <hattya@g.o> file-5.15.ebuild: |
37 |
ia64 stable wrt bug #492916 |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/file/file-5.16.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/file-5.16.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/file-5.16.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: file-5.16.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.16.ebuild,v 1.1 2013/12/01 20:06:01 polynomial-c Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) |
54 |
DISTUTILS_OPTIONAL=1 |
55 |
|
56 |
inherit eutils distutils-r1 libtool toolchain-funcs |
57 |
|
58 |
if [[ ${PV} == "9999" ]] ; then |
59 |
EGIT_REPO_URI="git://github.com/glensc/file.git" |
60 |
inherit autotools git-r3 |
61 |
else |
62 |
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz |
63 |
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
65 |
fi |
66 |
|
67 |
DESCRIPTION="identify a file's format by scanning binary data for patterns" |
68 |
HOMEPAGE="http://www.darwinsys.com/file/" |
69 |
|
70 |
LICENSE="BSD-2" |
71 |
SLOT="0" |
72 |
IUSE="python static-libs zlib" |
73 |
|
74 |
DEPEND="python? ( ${PYTHON_DEPS} ) |
75 |
zlib? ( sys-libs/zlib )" |
76 |
RDEPEND="${DEPEND} |
77 |
python? ( !dev-python/python-magic )" |
78 |
|
79 |
src_prepare() { |
80 |
[[ ${PV} == "9999" ]] && eautoreconf |
81 |
elibtoolize |
82 |
|
83 |
# don't let python README kill main README #60043 |
84 |
mv python/README{,.python} |
85 |
} |
86 |
|
87 |
wd() { echo "${WORKDIR}"/build-${CHOST}; } |
88 |
|
89 |
do_configure() { |
90 |
ECONF_SOURCE=${S} |
91 |
|
92 |
mkdir "$(wd)" |
93 |
pushd "$(wd)" >/dev/null |
94 |
|
95 |
econf "$@" |
96 |
|
97 |
popd >/dev/null |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
# when cross-compiling, we need to build up our own file |
102 |
# because people often don't keep matching host/target |
103 |
# file versions #362941 |
104 |
if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then |
105 |
tc-export_build_env BUILD_C{C,XX} |
106 |
ac_cv_header_zlib_h=no \ |
107 |
ac_cv_lib_z_gzopen=no \ |
108 |
CHOST=${CBUILD} \ |
109 |
CFLAGS=${BUILD_CFLAGS} \ |
110 |
CXXFLAGS=${BUILD_CXXFLAGS} \ |
111 |
CPPFLAGS=${BUILD_CPPFLAGS} \ |
112 |
LDFLAGS="${BUILD_LDFLAGS} -static" \ |
113 |
CC=${BUILD_CC} \ |
114 |
CXX=${BUILD_CXX} \ |
115 |
do_configure --disable-shared |
116 |
fi |
117 |
|
118 |
export ac_cv_header_zlib_h=$(usex zlib) ac_cv_lib_z_gzopen=$(usex zlib) |
119 |
do_configure $(use_enable static-libs static) |
120 |
} |
121 |
|
122 |
do_make() { |
123 |
emake -C "$(wd)" "$@" |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then |
128 |
CHOST=${CBUILD} do_make -C src file |
129 |
PATH=$(CHOST=${CBUILD} wd)/src:${PATH} |
130 |
fi |
131 |
do_make |
132 |
|
133 |
use python && cd python && distutils-r1_src_compile |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
do_make DESTDIR="${D}" install |
138 |
dodoc ChangeLog MAINT README |
139 |
|
140 |
use python && cd python && distutils-r1_src_install |
141 |
prune_libtool_files |
142 |
} |