# Maintainer: Natanael Copa setvar pkgname = 'libwmf' setvar pkgver = '0.2.8.4' setvar pkgrel = '3' setvar pkgdesc = ""A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)."" setvar url = ""http://wvware.sourceforge.net/libwmf.html"" setvar arch = ""all"" setvar license = ""LGPL"" setvar makedepends = ""libpng-dev>=1.4.0 freetype-dev jpeg-dev>=8 expat-dev"" setvar install = '' setvar subpackages = ""$pkgname-dev"" setvar source = ""http://downloads.sourceforge.net/sourceforge/wvware/$pkgname-$pkgver.tar.gz libpng14.patch"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $builddir default_prepare || return 1 update_config_guess || return 1 sed -i -e 's/src include fonts doc/src include fonts/g' Makefile.in } proc build { cd $builddir ./configure --prefix=/usr \ --with-gsfontdir=/usr/share/fonts/Type1 \ --with-fontdir=/usr/share/fonts/Type1 \ --with-gsfontmap=/usr/share/ghostscript/8.15/lib/Fontmap.GS make || return 1 } proc package { cd $builddir make -j1 DESTDIR="$pkgdir" install || return 1 } setvar sha512sums = ""d98df8e76a52245487b13e5ab3d2fbba9d246f97ee04a7344c0e5861bb2d0f990fc6d662dbd849ce621768b06eaebd4270fb34bec4ee004334a98b14ba6044a5 libwmf-0.2.8.4.tar.gz 804a43fa37928a91a477cfc875e80b55ebfcb6682cc12e661ca70006df8c4326e2ecf8ce3ffefbee465597bf47abbbfe7762981205a366aac32a43e1e9e1da7b libpng14.patch""