mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
31 lines
767 B
Bash
31 lines
767 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=libmng
|
|
pkgver=1.0.10
|
|
pkgrel=4
|
|
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
|
|
arch=('x86_64')
|
|
url="http://www.libmng.com/"
|
|
license=('custom')
|
|
depends=('zlib' 'libjpeg-turbo')
|
|
options=(!libtool)
|
|
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('a464ae7d679781beebdf7440d144b7bd')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
ln -s makefiles/configure.in .
|
|
ln -s makefiles/Makefile.am .
|
|
|
|
autoreconf --force --install
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|