wok annotate libwmf/receipt @ rev 18140
syslinux/taziso: add floppyset
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 15 16:28:54 2015 +0200 (2015-06-15) |
parents | ab4d2936d821 |
children | 79fa8f5e92e1 |
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" |
pascal@14718 | 8 LICENSE="GPL2" |
monghitri@13950 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@13950 | 10 WEB_SITE="http://wvware.sourceforge.net/libwmf.html" |
monghitri@13950 | 11 WGET_URL="http://sourceforge.net/projects/wvware/files/$PACKAGE/$VERSION/$TARBALL" |
pascal@14718 | 12 |
monghitri@13950 | 13 DEPENDS="libpng jpeg libgd gdk-pixbuf expat" |
monghitri@13950 | 14 BUILD_DEPENDS="libpng-dev jpeg-dev libgd-dev gdk-pixbuf-dev expat-dev" |
monghitri@13950 | 15 |
monghitri@13950 | 16 # Rules to configure and make the package. |
monghitri@13950 | 17 compile_rules() |
monghitri@13950 | 18 { |
monghitri@13950 | 19 cd $src |
monghitri@13950 | 20 sed -i 's/^mkdirprog.*$/mkdirprog="mkdir -p"/' install-sh |
monghitri@13950 | 21 ./configure $CONFIGURE_ARGS && |
monghitri@13950 | 22 make && |
monghitri@13950 | 23 make install |
monghitri@13950 | 24 } |
monghitri@13950 | 25 |
monghitri@13950 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13950 | 27 genpkg_rules() |
monghitri@13950 | 28 { |
monghitri@13950 | 29 mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders |
monghitri@13950 | 30 cp -a $install/usr/bin $fs/usr/ |
monghitri@13950 | 31 cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/ |
monghitri@13950 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
monghitri@13950 | 33 cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/ |
monghitri@13950 | 34 } |