wok annotate libwmf/receipt @ rev 14353
Remove unused TARBALL (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 16 09:08:11 2013 +0200 (2013-04-16) |
parents | |
children | 6eff489aa802 |
rev | line source |
---|---|
monghitri@13950 | 1 # SliTaz package receipt. |
monghitri@13950 | 2 |
monghitri@13950 | 3 PACKAGE="libwmf" |
monghitri@13950 | 4 VERSION="0.2.8.4" |
monghitri@13950 | 5 CATEGORY="misc" |
monghitri@13950 | 6 SHORT_DESC="library for converting WMF files" |
monghitri@13950 | 7 MAINTAINER="monghitri@aruba.it" |
monghitri@13950 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@13950 | 9 WEB_SITE="http://wvware.sourceforge.net/libwmf.html" |
monghitri@13950 | 10 WGET_URL="http://sourceforge.net/projects/wvware/files/$PACKAGE/$VERSION/$TARBALL" |
monghitri@13950 | 11 DEPENDS="libpng jpeg libgd gdk-pixbuf expat" |
monghitri@13950 | 12 BUILD_DEPENDS="libpng-dev jpeg-dev libgd-dev gdk-pixbuf-dev expat-dev" |
monghitri@13950 | 13 |
monghitri@13950 | 14 |
monghitri@13950 | 15 # Rules to configure and make the package. |
monghitri@13950 | 16 compile_rules() |
monghitri@13950 | 17 { |
monghitri@13950 | 18 cd $src |
monghitri@13950 | 19 sed -i 's/^mkdirprog.*$/mkdirprog="mkdir -p"/' install-sh |
monghitri@13950 | 20 ./configure $CONFIGURE_ARGS && |
monghitri@13950 | 21 make && |
monghitri@13950 | 22 make install |
monghitri@13950 | 23 } |
monghitri@13950 | 24 |
monghitri@13950 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13950 | 26 genpkg_rules() |
monghitri@13950 | 27 { |
monghitri@13950 | 28 mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders |
monghitri@13950 | 29 cp -a $install/usr/bin $fs/usr/ |
monghitri@13950 | 30 cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/ |
monghitri@13950 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
monghitri@13950 | 32 cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/ |
monghitri@13950 | 33 } |