imlib2: split utils to -utils subpkg; fixup imlib2-config script.

This commit is contained in:
Juan RP 2014-01-29 11:37:48 +01:00
parent c0e26d2ce9
commit 1191710426
2 changed files with 11 additions and 2 deletions

1
srcpkgs/imlib2-tools Symbolic link
View File

@ -0,0 +1 @@
imlib2

View File

@ -1,7 +1,7 @@
# Template build file for 'imlib2'. # Template build file for 'imlib2'.
pkgname=imlib2 pkgname=imlib2
version=1.4.6 version=1.4.6
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding" configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
hostmakedepends="libtool pkg-config" hostmakedepends="libtool pkg-config"
@ -16,13 +16,21 @@ checksum=17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e
pre_configure() { pre_configure() {
libtoolize -f libtoolize -f
sed -e 's,@my_libs@,@LIBS@,g' -i imlib2-config.in
}
imlib2-tools_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
} }
imlib2-devel_package() { imlib2-devel_package() {
depends="imlib2>=${version}_${revision}" depends="imlib2>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/bin vmove usr/bin/imlib2-config
vmove usr/include vmove usr/include
vmove usr/share vmove usr/share
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig