wok rev 22799

updated gaupol (0.19.2 -> 1.7)
author Hans-G?nter Theisgen
date Mon Jan 27 10:59:38 2020 +0100 (2020-01-27)
parents a1bbe2fd9975
children faf06d0e5299
files gaupol/receipt
line diff
     1.1 --- a/gaupol/receipt	Mon Jan 27 10:39:45 2020 +0100
     1.2 +++ b/gaupol/receipt	Mon Jan 27 10:59:38 2020 +0100
     1.3 @@ -1,30 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gaupol"
     1.7 -VERSION="0.19.2"
     1.8 +VERSION="1.7"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Gaupol is an editor for text-based subtitle files."
    1.11 +SHORT_DESC="An editor for text-based subtitle files."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://otsaloma.io/gaupol/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://otsaloma.io/gaupol/"
    1.18 -WGET_URL="http://download.gna.org/$PACKAGE/${VERSION:0:4}/$TARBALL"
    1.19 +WGET_URL="https://github.com/otsaloma/$PACKAGE/archive/$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="python pygtk"
    1.22  SUGGESTED="mplayer"
    1.23 -BUILD_DEPENDS="python-dev intltool gettext"
    1.24 +DEPENDS="py3k pygtk"
    1.25 +BUILD_DEPENDS="gettext intltool py3k-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	python setup.py clean install --prefix=$install/usr
    1.31 +	python2 setup.py clean install --prefix=$install/usr
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.38 +	PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/')
    1.39  	sed -i 's|/home/slitaz/wok/gaupol/install||g' \
    1.40  		$install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
    1.41 -	cp -a $install/usr $fs
    1.42 +
    1.43 +	cp -a $install/usr	$fs
    1.44  }