void-packages/srcpkgs/imlib2/template

44 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template build file for 'imlib2'.
pkgname=imlib2
2012-06-06 10:21:02 +02:00
version=1.4.5
2013-05-07 11:52:56 +02:00
revision=6
build_style=gnu-configure
2012-10-15 16:32:55 +02:00
configure_args="--disable-static --sysconfdir=/etc/imlib2
--enable-visibility-hiding"
2013-05-07 11:52:56 +02:00
hostmakedepends="pkg-config"
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
2012-10-15 16:32:55 +02:00
tiff-devel libid3tag-devel giflib-devel>=5.0.1 libXext-devel"
short_desc="Image manipulation library"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-10-15 16:32:55 +02:00
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-$version.tar.gz"
homepage="http://sourceforge.net/projects/enlightenment/"
license="BSD"
2012-06-06 10:21:02 +02:00
checksum=6e809413a571f82b9e67aeaf5577a1245a034c866ae5fa83c191a227f60cc7a0
2013-05-07 11:52:56 +02:00
if [ "$CROSS_BUILD" ]; then
# XXX needs freetype-config
hostmakedepends+=" automake libtool freetype-devel"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
sed -e 's,AM_PROG_CC_STDC,AC_PROG_CC,g' -i configure.ac
autoreconf -fi
}
fi
imlib2-devel_package() {
depends="imlib2-${version}_${revision}"
2013-05-07 11:52:56 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
}
}
imlib2_package() {
pkg_install() {
2013-04-30 11:29:36 +02:00
vmove all
}
}