void-packages/srcpkgs/libwmf/template

40 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template build file for 'libwmf'.
pkgname=libwmf
version=0.2.8.4
2013-04-30 11:34:44 +02:00
revision=15
build_style=gnu-configure
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
--with-fontdir=/usr/share/fonts/Type1 --disable-static
2012-06-06 09:51:22 +02:00
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
hostmakedepends="pkg-config"
2013-04-30 11:34:44 +02:00
makedepends="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>"
2013-01-08 10:21:20 +01:00
homepage="http://wvware.sourceforge.net/libwmf.html"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
2012-06-06 09:51:22 +02:00
post_install() {
rm -rf ${DESTDIR}/usr/share/fonts
}
libwmf-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
2013-04-30 11:34:44 +02:00
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/share/doc
vmove usr/bin/libwmf-config
}
}
libwmf_package() {
depends="gsfonts"
triggers="gtk-pixbuf-loaders"
pkg_install() {
2013-04-30 11:34:44 +02:00
vmove all
}
}