2008-10-08 07:27:10 +02:00
|
|
|
# Template build file for 'imlib2'.
|
|
|
|
pkgname=imlib2
|
2014-01-29 11:30:19 +01:00
|
|
|
version=1.4.6
|
2014-04-03 13:23:29 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-29 11:30:19 +01:00
|
|
|
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
|
|
|
|
hostmakedepends="libtool pkg-config"
|
2013-05-07 11:52:56 +02:00
|
|
|
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
|
2014-01-29 11:30:19 +01:00
|
|
|
tiff-devel libid3tag-devel giflib-devel>=5.0.1 libXext-devel libSM-devel"
|
2008-10-08 07:27:10 +02:00
|
|
|
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"
|
2014-01-29 11:30:19 +01:00
|
|
|
checksum=17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e
|
2013-04-12 16:39:50 +02:00
|
|
|
|
2014-01-29 11:30:19 +01:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
2014-01-29 11:37:48 +01:00
|
|
|
sed -e 's,@my_libs@,@LIBS@,g' -i imlib2-config.in
|
|
|
|
}
|
|
|
|
|
|
|
|
imlib2-tools_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
2014-01-29 11:30:19 +01:00
|
|
|
}
|
2013-05-07 11:52:56 +02:00
|
|
|
|
2013-04-12 16:39:50 +02:00
|
|
|
imlib2-devel_package() {
|
2014-01-29 11:30:19 +01:00
|
|
|
depends="imlib2>=${version}_${revision}"
|
2013-05-07 11:52:56 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 16:39:50 +02:00
|
|
|
pkg_install() {
|
2014-01-29 11:37:48 +01:00
|
|
|
vmove usr/bin/imlib2-config
|
2013-04-12 16:39:50 +02:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-29 11:30:19 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 16:39:50 +02:00
|
|
|
}
|
|
|
|
}
|