libwmf: cross build support; move so symlinks to -devel pkg.

This commit is contained in:
Juan RP 2013-11-26 09:56:01 +01:00
parent 00a6b88a0c
commit bca2ef41bc

View file

@ -1,13 +1,13 @@
# Template build file for 'libwmf'.
pkgname=libwmf
version=0.2.8.4
revision=15
revision=16
build_style=gnu-configure
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
--with-fontdir=/usr/share/fonts/Type1 --disable-static
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
hostmakedepends="pkg-config"
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
hostmakedepends="automake libtool pkg-config gsfonts freetype-devel"
makedepends="zlib-devel freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
expat-devel glib-devel gtk+-devel gd-devel gsfonts"
short_desc="Library for reading and converting WMF (Windows Meta Files)"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -16,17 +16,22 @@ license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
pre_configure() {
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/fonts
}
libwmf-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" -- development files"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/doc
vmove usr/bin/libwmf-config
vmove "usr/lib/*.so"
}
}