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