2008-10-10 18:36:53 +02:00
|
|
|
# Template build file for 'libwmf'.
|
|
|
|
pkgname=libwmf
|
|
|
|
version=0.2.8.4
|
2014-04-04 14:16:49 +02:00
|
|
|
revision=17
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-04-22 01:21:13 +02:00
|
|
|
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
|
2012-10-11 10:34:32 +02:00
|
|
|
--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"
|
2013-11-26 09:56:01 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config gsfonts freetype-devel"
|
|
|
|
makedepends="zlib-devel freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
|
2013-04-13 10:15:49 +02:00
|
|
|
expat-devel glib-devel gtk+-devel gd-devel gsfonts"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="gsfonts"
|
|
|
|
triggers="gtk-pixbuf-loaders"
|
2008-10-10 18:36:53 +02:00
|
|
|
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"
|
2012-10-11 10:34:32 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
|
2009-04-22 01:21:13 +02:00
|
|
|
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
|
|
|
|
|
2013-11-26 09:56:01 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2012-06-06 09:51:22 +02:00
|
|
|
post_install() {
|
2009-04-22 01:21:13 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/share/fonts
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libwmf-devel_package() {
|
2013-11-26 09:56:01 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/bin/libwmf-config
|
2013-11-26 09:56:01 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|