wok-6.x annotate libwmf/receipt @ rev 13950

add libwmf libwmf-dev
author ernia <monghitri@aruba.it>
date Tue Jan 29 21:00:25 2013 +0000 (2013-01-29)
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 }