Magellan Linux

Contents of /branches/magellan-next/core/iso-codes/iso-codes-3.20-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6989 - (show annotations) (download)
Mon Sep 27 15:50:47 2010 UTC (13 years, 7 months ago) by niro
File size: 1039 byte(s)
-fixed SRCFILE
1 # $Id: iso-codes-3.11-r1.smage2 3542 2009-10-23 10:47:44Z niro $
2
3 PNAME="iso-codes"
4 PVER="3.20"
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.18
16 >= dev-lang/python-2.7
17 >= sys-dev/automake-4"
18
19 SRCFILE="${PNAME}_${PVER}.orig.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild
23
24 SRC_URI=(
25 http://ftp.debian.org/debian/pool/main/i/${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 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'"
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34 cd ${SRCDIR}
35
36 # fix wrong pkgconfig dir
37 sed -i 's:(datadir)/pkgconfig:(libdir)/pkgconfig:g' Makefile.am || die
38
39 # supress some annoying warnings
40 touch NEWS AUTHORS || die
41 aclocal || die
42 autoconf || die
43 automake --add-missing --foreign --copy || die
44 }