Contents of /trunk/extras/iso-codes/iso-codes-4.1-r1.smage2
Parent Directory | Revision Log
Revision 31722 -
(show annotations)
(download)
Thu Dec 6 11:42:09 2018 UTC (5 years, 9 months ago) by niro
File size: 956 byte(s)
Thu Dec 6 11:42:09 2018 UTC (5 years, 9 months ago) by niro
File size: 956 byte(s)
auto added: ver bump to 4.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="iso-codes" |
4 | PVER="4.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="app-text" |
8 | |
9 | DESCRIPTION="ISO language, territory, currency codes and their translations." |
10 | HOMEPAGE="http://packages.debian.org/unstable/misc/iso-codes" |
11 | |
12 | DEPEND="" |
13 | |
14 | SDEPEND=">= sys-dev/gettext-0.18 |
15 | >= dev-lang/python3-3.7 |
16 | >= sys-dev/automake-4" |
17 | |
18 | SRCFILE="${PNAME}_${PVER}.orig.tar.xz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild |
22 | |
23 | SRC_URI=( |
24 | http://ftp.debian.org/debian/pool/main/i/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd http://ftp.debian.org/debian/pool/main/${PNAME:0:1}/${PNAME} | grep .tar.xz | sed -n 's/.*_\(.*\).t.*/\1/;$ p' | sed 's:.orig::g'" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # fix wrong pkgconfig dir |
36 | sed -i 's:(datadir)/pkgconfig:(libdir)/pkgconfig:g' Makefile.am || die |
37 | |
38 | # supress some annoying warnings |
39 | touch NEWS AUTHORS || die |
40 | aclocal || die |
41 | autoconf || die |
42 | automake --add-missing --foreign --copy || die |
43 | } |