# $Header: /magellan-cvs/smage/iso-codes/iso-codes-2.0-r1.smage2,v 1.1 2008/04/20 22:10:05 niro Exp $ PNAME="iso-codes" PVER="2.0" PBUILD="r1" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="ISO language, territory, currency codes and their translations." HOMEPAGE="http://packages.debian.org/unstable/misc/iso-codes" DEPEND="" SDEPEND=">= sys-dev/gettext-0.17 >= dev-lang/python-2.5 >= dev-python/pyxml-0.8.4 >= sys-dev/automake-3" SRCFILE="${PNAME}_${PVER}.orig.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://ftp.debian.org/debian/pool/main/i/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix wrong pkgconfig dir sed -i 's:(datadir)/pkgconfig:(libdir)/pkgconfig:g' Makefile.am || die # supress some annoying warnings touch NEWS AUTHORS || die aclocal || die autoconf || die automake --add-missing --foreign --copy || die }