Annotation of /branches/magellan-next/core/iso-codes/iso-codes-3.32-r1.smage2
Parent Directory | Revision Log
Revision 9775 -
(hide annotations)
(download)
Wed Jan 11 13:46:14 2012 UTC (12 years, 8 months ago) by niro
File size: 964 byte(s)
Wed Jan 11 13:46:14 2012 UTC (12 years, 8 months ago) by niro
File size: 964 byte(s)
auto added: ver bump to 3.32-r1
1 | niro | 9775 | # $Id$ |
2 | |||
3 | PNAME="iso-codes" | ||
4 | PVER="3.32" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="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.bz2" | ||
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.bz2 | 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 | } |