void-packages/srcpkgs/imlib2/template

38 lines
1 KiB
Bash
Raw Normal View History

# Template build file for 'imlib2'.
pkgname=imlib2
2015-04-05 06:58:41 +00:00
version=1.4.7
revision=1
build_style=gnu-configure
2014-01-29 10:30:19 +00:00
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
2015-04-05 06:58:41 +00:00
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>"
2012-10-15 14:32:55 +00:00
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-$version.tar.gz"
homepage="http://sourceforge.net/projects/enlightenment/"
license="BSD"
2015-04-05 06:58:41 +00:00
checksum=48e98337a560d8904f685447f41c43914fec1f8cd3745a9fd86cba9fd24a6563
2014-01-29 10:30:19 +00:00
pre_configure() {
2015-04-05 06:58:41 +00:00
autoreconf -fi
}
imlib2-tools_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
2014-01-29 10:30:19 +00:00
}
imlib2-devel_package() {
2015-04-05 06:58:41 +00:00
depends="${sourcepkg}-${version}_${revision}"
2013-05-07 09:52:56 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/imlib2-config
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2014-01-29 10:30:19 +00:00
vmove "usr/lib/*.so"
}
}