Contents of /branches/branch-xorg18/core/iso-codes/iso-codes-3.11-r1.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1006 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1006 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="iso-codes" |
4 | PVER="3.11" |
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-4" |
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 |