42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# Template build file for 'imlib2'.
|
|
pkgname=imlib2
|
|
version=1.4.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel
|
|
tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
|
|
short_desc="Image manipulation library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-$version.tar.gz"
|
|
homepage="http://sourceforge.net/projects/enlightenment/"
|
|
license="BSD"
|
|
checksum=b5b97be5446d9c5635c288bfe970896148d8bc027ab01f854112cae03b65a3a5
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
imlib2-tools_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
}
|
|
}
|
|
imlib2-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/imlib2-config
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|