wok-current view gaupol/receipt @ rev 14934

Up: evas_generic_loaders (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:39 2013 +0200 (2013-08-08)
parents 5c245886becb
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="gaupol"
4 VERSION="0.19"
5 CATEGORY="multimedia"
6 SHORT_DESC="Gaupol is an editor for text-based subtitle files."
7 MAINTAINER="claudinei@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://home.gna.org/gaupol"
10 WGET_URL="http://download.gna.org/$PACKAGE/$VERSION/$TARBALL"
11 DEPENDS="python pygtk"
12 SUGGESTED="mplayer"
13 BUILD_DEPENDS="python-dev intltool gettext"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py clean install --prefix=$install/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 sed -i 's|/home/slitaz/wok/gaupol/install||g' \
27 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
28 cp -a $install/usr $fs
29 }