wok view libwmf/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents ab4d2936d821
children 79fa8f5e92e1
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://wvware.sourceforge.net/libwmf.html"
11 WGET_URL="http://sourceforge.net/projects/wvware/files/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="libpng jpeg libgd gdk-pixbuf expat"
14 BUILD_DEPENDS="libpng-dev jpeg-dev libgd-dev gdk-pixbuf-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/^mkdirprog.*$/mkdirprog="mkdir -p"/' install-sh
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders
30 cp -a $install/usr/bin $fs/usr/
31 cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/
32 cp -a $install/usr/lib/*.so* $fs/usr/lib/
33 cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/
34 }