Contents of /smage/branches/alx07x-unstable/core/diffutils/diffutils-3.2-r6.smage2
Parent Directory | Revision Log
Revision 10936 -
(show annotations)
(download)
Thu Aug 31 08:38:17 2017 UTC (7 years ago) by niro
File size: 761 byte(s)
Thu Aug 31 08:38:17 2017 UTC (7 years ago) by niro
File size: 761 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="diffutils" |
4 | PVER="3.2" |
5 | PBUILD="r6" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="Tools to make diffs and compare files." |
10 | HOMEPAGE="http://www.gnu.org/software/diffutils/diffutils.html" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= sys-dev/gettext-0.18" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | ALX_PKG_KEEP="usr/bin" |
19 | sminclude mbuild alx-split |
20 | |
21 | SRC_URI=( |
22 | gnu://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-${PVER}-gnulib-gets.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fix ftbfs with newer glibc (>= 2.16) |
35 | mpatch ${PNAME}-${PVER}-gnulib-gets.patch || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | mconfigure --disable-nls || die |
42 | mmake || die |
43 | } |