wok-current annotate gaupol/receipt @ rev 22096
Up fsarchiver (0.8.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 10:48:55 2019 +0100 (2019-11-01) |
parents | 16df76e1fc6a |
children | 43e91926293e |
rev | line source |
---|---|
claudinei@2898 | 1 # SliTaz package receipt. |
claudinei@2898 | 2 |
claudinei@2898 | 3 PACKAGE="gaupol" |
pascal@17209 | 4 VERSION="0.19.2" |
claudinei@2898 | 5 CATEGORY="multimedia" |
claudinei@2898 | 6 SHORT_DESC="Gaupol is an editor for text-based subtitle files." |
claudinei@2898 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
claudinei@2898 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20673 | 10 WEB_SITE="https://otsaloma.io/gaupol/" |
pascal@17209 | 11 WGET_URL="http://download.gna.org/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pascal@14999 | 12 |
claudinei@2898 | 13 DEPENDS="python pygtk" |
claudinei@2898 | 14 SUGGESTED="mplayer" |
pankso@3405 | 15 BUILD_DEPENDS="python-dev intltool gettext" |
claudinei@2898 | 16 |
claudinei@2898 | 17 # Rules to configure and make the package. |
claudinei@2898 | 18 compile_rules() |
claudinei@2898 | 19 { |
claudinei@14860 | 20 python setup.py clean install --prefix=$install/usr |
claudinei@2898 | 21 } |
claudinei@2898 | 22 |
claudinei@2898 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2898 | 24 genpkg_rules() |
claudinei@2898 | 25 { |
claudinei@14897 | 26 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
claudinei@14897 | 27 sed -i 's|/home/slitaz/wok/gaupol/install||g' \ |
claudinei@14897 | 28 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py |
claudinei@14860 | 29 cp -a $install/usr $fs |
claudinei@2898 | 30 } |