wok-next diff moonshiner/receipt @ rev 16380

ARM: try to fix glib cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 03:48:06 2014 +0200 (2014-04-15)
parents f7de826b263e
children 16df76e1fc6a
line diff
     1.1 --- a/moonshiner/receipt	Wed Sep 30 22:38:23 2009 +0200
     1.2 +++ b/moonshiner/receipt	Tue Apr 15 03:48:06 2014 +0200
     1.3 @@ -5,23 +5,25 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="GUI for Ghostscript's PostScript-to-PDF converter."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 +WEB_SITE="http://moonshiner.sourceforge.net/"
    1.10 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 +
    1.12  DEPENDS="python pygtk ghostscript"
    1.13  BUILD_DEPENDS="python-dev pygtk-dev"
    1.14 -WEB_SITE="http://moonshiner.sourceforge.net/"
    1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	python setup.py install --root=$PWD/_pkg
    1.22 +	python setup.py install --root=$DESTDIR
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28  	mkdir -p $fs/usr
    1.29 -	cp -a $_pkg/usr/bin $fs/usr
    1.30 -	cp -a $_pkg/usr/lib $fs/usr
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/lib $fs/usr
    1.33  }