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