2009-09-26 14:35:50 +00:00
|
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
|
|
# Maintainer: judd <jvinet@zeroflux.org>
|
2009-11-18 19:04:34 +00:00
|
|
|
|
2009-09-26 14:35:50 +00:00
|
|
|
pkgname=libmng
|
|
|
|
pkgver=1.0.10
|
2009-11-22 11:13:47 +00:00
|
|
|
pkgrel=2
|
2009-09-26 14:35:50 +00:00
|
|
|
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
|
2009-11-18 19:04:34 +00:00
|
|
|
arch=('arm')
|
2009-09-26 14:35:50 +00:00
|
|
|
url="http://www.libmng.com/"
|
|
|
|
license=('custom')
|
2009-11-22 11:13:47 +00:00
|
|
|
depends=('zlib' 'libjpeg>=7')
|
2009-09-26 14:35:50 +00:00
|
|
|
options=(!libtool)
|
2009-11-22 11:13:47 +00:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
2009-09-26 14:35:50 +00:00
|
|
|
md5sums=('a464ae7d679781beebdf7440d144b7bd')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
ln -s makefiles/configure.in .
|
|
|
|
ln -s makefiles/Makefile.am .
|
|
|
|
autoreconf --force --install
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$startdir/pkg install
|
|
|
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
|
|
}
|