Magellan Linux

Contents of /branches/R11-stable/extras/iso-codes/iso-codes-3.57-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24296 - (show annotations) (download)
Fri Feb 20 10:03:34 2015 UTC (9 years, 2 months ago) by niro
File size: 956 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="iso-codes"
4 PVER="3.57"
5 PBUILD="r2"
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/python-2.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 }