Magellan Linux

Contents of /trunk/extras/iso-codes/iso-codes-3.78-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30598 - (show annotations) (download)
Fri Feb 2 12:24:56 2018 UTC (6 years, 2 months ago) by niro
File size: 957 byte(s)
auto added: ver bump to 3.78-r1
1 # $Id$
2
3 PNAME="iso-codes"
4 PVER="3.78"
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.5
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 }