vp-build/templates/libwmf.tmpl
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:

distfiles="http://www.foo.org/blah-6.2@.tar.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00

25 lines
1.2 KiB
Cheetah

# Template build file for 'libwmf'.
pkgname=libwmf
version=0.2.8.4
distfiles="
http://kent.dl.sourceforge.net/sourceforge/wvware/$pkgname-$version@.tar.gz"
build_style=gnu_configure
configure_args="
--with-sysfontmap=$XBPS_MASTERDIR/share/fonts/fontmap
--with-fontdir=$XBPS_DESTDIR/$pkgname-$version/share/fonts
--with-gsfontmap=$XBPS_MASTERDIR/share/ghostscript/fonts/fontmap
--with-gsfontdir=$XBPS_DESTDIR/$pkgname-$version/share/ghostscript/fonts
--with-docdir=$XBPS_DESTDIR/$pkgname-$version/share/doc/libwmf"
short_desc="Library for reading and converting WMF (Windows Meta Files)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=98cd631adb5bb332d9224d04bc8a265c105435f2
long_desc="
libwmf is a library for UNIX-like machines that can convert wmf
(Windows Meta Files) files into other formats. Currently it supports
a gd binding to convert to png, and an X one to draw direct to an X
window or pixmap. It also comes with a program to display wmfs: wmf2x.
Without a TrueType font server and the standard MS Windows fonts, the X
binding might render text in a different font than would appear under
MS Windows natively (this is a runtime issue for the wmf2x program)."