wok-next diff libwmf/receipt @ rev 14580
Fix wrong name and add ntfs-3g depends
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat May 25 20:31:54 2013 +0200 (2013-05-25) |
parents | |
children | 6eff489aa802 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libwmf/receipt Sat May 25 20:31:54 2013 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libwmf" 1.7 +VERSION="0.2.8.4" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="library for converting WMF files" 1.10 +MAINTAINER="monghitri@aruba.it" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://wvware.sourceforge.net/libwmf.html" 1.13 +WGET_URL="http://sourceforge.net/projects/wvware/files/$PACKAGE/$VERSION/$TARBALL" 1.14 +DEPENDS="libpng jpeg libgd gdk-pixbuf expat" 1.15 +BUILD_DEPENDS="libpng-dev jpeg-dev libgd-dev gdk-pixbuf-dev expat-dev" 1.16 + 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + sed -i 's/^mkdirprog.*$/mkdirprog="mkdir -p"/' install-sh 1.23 + ./configure $CONFIGURE_ARGS && 1.24 + make && 1.25 + make install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders 1.32 + cp -a $install/usr/bin $fs/usr/ 1.33 + cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/ 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib/ 1.35 + cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/ 1.36 +}