wok diff gutenpy/receipt @ rev 15924

ntp: avoid refection attacks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 19 09:17:04 2014 +0000 (2014-02-19)
parents b8b131bc573c
children 16df76e1fc6a
line diff
     1.1 --- a/gutenpy/receipt	Sat Jan 09 18:16:48 2010 +0000
     1.2 +++ b/gutenpy/receipt	Wed Feb 19 09:17:04 2014 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="A text reader and catalog browser for project Gutenburg."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="python pygtk"
     1.8 -BUILD_DEPENDS="python python-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://gutenpy.sourceforge.net/"
    1.12  WGET_URL="http://prdownloads.sourceforge.net/gutenpy/$TARBALL"
    1.13  
    1.14 +DEPENDS="python pygtk"
    1.15 +BUILD_DEPENDS="python python-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -19,13 +21,13 @@
    1.21  	# Fix missing .desktop file
    1.22  	sed -i '/share\/applications/d' setup.py
    1.23  	sed -i '/gutenpy.desktop/d' setup.py
    1.24 -	python setup.py install --root=$PWD/_pkg
    1.25 +	python setup.py install --root=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	cp -a $_pkg/usr $fs
    1.32 +	cp -a $install/usr $fs
    1.33  	# Add gutenpy.desktop file
    1.34  	cp -a stuff/* $fs
    1.35  }