wok-6.x view libwmf/receipt @ rev 14298

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