summaryrefslogtreecommitdiffstats
path: root/abs/core/libmng/PKGBUILD
blob: dc3958a437c82806bd5259144d80bdc32afdbd2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id$
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=libmng
pkgver=1.0.10
pkgrel=3
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libmng.com/"
license=('custom')
depends=('zlib' 'libjpeg>=7')
options=(!libtool)
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
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
}