2009-05-13 16:19:25 +02:00
|
|
|
# Template build file for 'libmng'.
|
|
|
|
pkgname=libmng
|
2008-10-11 06:33:25 +02:00
|
|
|
version=1.0.10
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=7
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-01-08 10:10:40 +01:00
|
|
|
configure_args="--disable-static"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="automake libtool"
|
|
|
|
makedepends="libjpeg-turbo-devel zlib-devel lcms-devel"
|
2008-10-11 06:33:25 +02:00
|
|
|
short_desc="Multiple-image Network Graphics (MNG) reference library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-08 10:10:40 +01:00
|
|
|
homepage="http://www.libmng.com"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
|
2009-05-13 16:19:25 +02:00
|
|
|
checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
|
|
|
|
|
2012-05-23 11:54:45 +02:00
|
|
|
pre_configure() {
|
2009-05-13 16:19:25 +02:00
|
|
|
ln -s makefiles/configure.in .
|
|
|
|
ln -s makefiles/Makefile.am .
|
2012-05-23 11:54:45 +02:00
|
|
|
autoreconf -fi
|
2008-10-27 07:49:03 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libmng-devel_package() {
|
|
|
|
depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmng_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|