wok rev 13950

add libwmf libwmf-dev
author ernia <monghitri@aruba.it>
date Tue Jan 29 21:00:25 2013 +0000 (2013-01-29)
parents 45f46d8e2be3
children 31ec2f4226ad
files libwmf-dev/receipt libwmf/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libwmf-dev/receipt	Tue Jan 29 21:00:25 2013 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libwmf-dev"
     1.7 +VERSION="0.2.8.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="library for converting WMF files"
    1.10 +MAINTAINER="monghitri@aruba.it"
    1.11 +DEPENDS="libwmf"
    1.12 +WEB_SITE="http://wvware.sourceforge.net/libwmf.html"
    1.13 +WANTED="libwmf"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib/gtk-2.0/loaders 
    1.19 +	cp -a $install/usr/lib/*.*a $fs/usr/lib/
    1.20 +	cp -a $install/usr/lib/gtk-2.0/loaders/*.*a $fs/usr/lib/gtk-2.0/loaders/
    1.21 +	cp -a $_pkg/usr/include $fs/usr
    1.22 +}
    1.23 +
    1.24 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libwmf/receipt	Tue Jan 29 21:00:25 2013 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libwmf"
     2.7 +VERSION="0.2.8.4"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="library for converting WMF files"
    2.10 +MAINTAINER="monghitri@aruba.it"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://wvware.sourceforge.net/libwmf.html"
    2.13 +WGET_URL="http://sourceforge.net/projects/wvware/files/$PACKAGE/$VERSION/$TARBALL"
    2.14 +DEPENDS="libpng jpeg libgd gdk-pixbuf expat"
    2.15 +BUILD_DEPENDS="libpng-dev jpeg-dev libgd-dev gdk-pixbuf-dev expat-dev"
    2.16 +
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	cd $src
    2.22 +	sed -i 's/^mkdirprog.*$/mkdirprog="mkdir -p"/' install-sh
    2.23 +	./configure $CONFIGURE_ARGS &&
    2.24 +	make && 
    2.25 +	make install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders
    2.32 +	cp -a $install/usr/bin $fs/usr/
    2.33 +	cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/
    2.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    2.35 +	cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/
    2.36 +}