wok diff wv/receipt @ rev 16629

Up: slitaz-arm* packages
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 10 14:35:39 2014 +0200 (2014-05-10)
parents 6e3357a7a120
children ae303dd64237
line diff
     1.1 --- a/wv/receipt	Thu May 31 13:01:06 2012 +0200
     1.2 +++ b/wv/receipt	Sat May 10 14:35:39 2014 +0200
     1.3 @@ -4,13 +4,15 @@
     1.4  VERSION="1.2.5"
     1.5  CATEGORY="x-window"
     1.6  SHORT_DESC="MS document manipulation library."
     1.7 -DEPENDS="glib libgsf libpng libxml2 zlib"
     1.8 -BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 +LICENSE="GPL2"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://www.abisource.com/projects/"
    1.13  WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
    1.14  
    1.15 +DEPENDS="glib libgsf libpng libxml2 zlib"
    1.16 +BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -21,15 +23,15 @@
    1.22  		--mandir=/usr/share/man \
    1.23  		$CONFIGURE_ARGS &&
    1.24  	make 
    1.25 -	make DESTDIR=$PWD/_pkg install
    1.26 +	make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/lib $fs/usr/share
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35  	chmod +x $fs/usr/bin/*
    1.36 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37 -	cp -a $_pkg/usr/share/wv $fs/usr/share
    1.38 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $install/usr/share/wv $fs/usr/share
    1.40  }