2008-10-10 16:36:53 +00:00
|
|
|
# Template build file for 'libwmf'.
|
|
|
|
pkgname=libwmf
|
|
|
|
version=0.2.8.4
|
2013-11-26 08:56:01 +00:00
|
|
|
revision=16
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-04-21 23:21:13 +00:00
|
|
|
configure_args="--with-gsfontdir=/usr/share/fonts/Type1
|
2012-10-11 08:34:32 +00:00
|
|
|
--with-fontdir=/usr/share/fonts/Type1 --disable-static
|
2012-06-06 07:51:22 +00:00
|
|
|
--with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS"
|
2013-11-26 08:56:01 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config gsfonts freetype-devel"
|
|
|
|
makedepends="zlib-devel freetype-devel libjpeg-turbo-devel libpng-devel>=1.6
|
2013-04-13 08:15:49 +00:00
|
|
|
expat-devel glib-devel gtk+-devel gd-devel gsfonts"
|
2008-10-10 16:36:53 +00:00
|
|
|
short_desc="Library for reading and converting WMF (Windows Meta Files)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-08 09:21:20 +00:00
|
|
|
homepage="http://wvware.sourceforge.net/libwmf.html"
|
|
|
|
license="LGPL-2.1"
|
2012-10-11 08:34:32 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/wvware/$pkgname-$version.tar.gz"
|
2009-04-21 23:21:13 +00:00
|
|
|
checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8
|
|
|
|
|
2013-11-26 08:56:01 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2012-06-06 07:51:22 +00:00
|
|
|
post_install() {
|
2009-04-21 23:21:13 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/share/fonts
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libwmf-devel_package() {
|
2013-11-26 08:56:01 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/bin/libwmf-config
|
2013-11-26 08:56:01 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libwmf_package() {
|
|
|
|
depends="gsfonts"
|
|
|
|
triggers="gtk-pixbuf-loaders"
|
|
|
|
pkg_install() {
|
2013-04-30 09:34:44 +00:00
|
|
|
vmove all
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|