Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6988 - (hide annotations) (download)
Mon Sep 27 15:50:27 2010 UTC (13 years, 8 months ago) by niro
File size: 1038 byte(s)
auto added: ver bump to 3.20-r1
1 niro 6988 # $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.gz"
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     }