wok-6.x annotate gaupol/receipt @ rev 14897
Fix: gaupol (set correct paths for aeidon)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sun Jul 28 10:32:13 2013 -0300 (2013-07-28) |
parents | 5c245886becb |
children | 2b9f96603415 |
rev | line source |
---|---|
claudinei@2898 | 1 # SliTaz package receipt. |
claudinei@2898 | 2 |
claudinei@2898 | 3 PACKAGE="gaupol" |
claudinei@14860 | 4 VERSION="0.19" |
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" |
claudinei@2898 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@2898 | 9 WEB_SITE="http://home.gna.org/gaupol" |
claudinei@2898 | 10 WGET_URL="http://download.gna.org/$PACKAGE/$VERSION/$TARBALL" |
claudinei@2898 | 11 DEPENDS="python pygtk" |
claudinei@2898 | 12 SUGGESTED="mplayer" |
pankso@3405 | 13 BUILD_DEPENDS="python-dev intltool gettext" |
claudinei@2898 | 14 |
claudinei@2898 | 15 # Rules to configure and make the package. |
claudinei@2898 | 16 compile_rules() |
claudinei@2898 | 17 { |
claudinei@2898 | 18 cd $src |
claudinei@14860 | 19 python setup.py clean install --prefix=$install/usr |
claudinei@2898 | 20 } |
claudinei@2898 | 21 |
claudinei@2898 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@2898 | 23 genpkg_rules() |
claudinei@2898 | 24 { |
claudinei@14897 | 25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
claudinei@14897 | 26 sed -i 's|/home/slitaz/wok/gaupol/install||g' \ |
claudinei@14897 | 27 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py |
claudinei@14860 | 28 cp -a $install/usr $fs |
claudinei@2898 | 29 } |