#!/bin/sh
#
# Copyright 2005 Paul Blazejowski <paulb@blazebox.homeip.net>
# Available under the terms of the GNU GPL.
#

NAME="iso-codes"
VERSION="0.50"
REVISION="1"

PKG_SOURCEURL='http://ftp.us.debian.org/debian/pool/main/i/$NAME/iso-codes_0.50.orig.tar.gz'
PKG_SOURCEMD5=''
PKG_USEAUTOGENSH="si senior"

. $DLG_ROOT/config
. $DLG_ROOT/SCRIPTS/dropline-functions.sh

cflags
cxxflags
prepare
analyzesource
configure
make -j2
makecheck
makeinstall install-strip

# Yeah iso-codes is nasti and puts pkgconfig files in /usr/share
# And i am lazy to roll a nice diff to fix this tiny nudge ...
createdir $PKG_STAGEROOT$PKG_PREFIX/lib
spewdo "mv $PKG_STAGEROOT$PKG_PREFIX/share/pkgconfig $PKG_STAGEROOT$PKG_PREFIX/lib"

tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup

