wok-current annotate libwmf/receipt @ rev 22439

clementine 1.3.1 needs newer gstreamer 1.0
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Dec 23 12:19:23 2019 +0000 (2019-12-23)
parents 79fa8f5e92e1
children 370da83187ab
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"
pascal@20421 11 WGET_URL="https://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 {
pascal@19729 29 mkdir -p $fs/usr/share/libwmf $fs/usr/lib
monghitri@13950 30 cp -a $install/usr/bin $fs/usr/
monghitri@13950 31 cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/
pascal@19729 32 cp -a $install/usr/lib $fs/usr/
pascal@19729 33 find $fs/usr/ | while read f ; do
pascal@19729 34 case "$f" in
pascal@19729 35 *a) rm -f $f
pascal@19729 36 esac
pascal@19729 37 done
monghitri@13950 38 }