wok-next view gaupol/receipt @ rev 14912

Up: libfirefox (17.0.7esr)
author Richard Dunbar <mojo@slitaz.org>
date Tue Aug 06 01:06:57 2013 +0000 (2013-08-06)
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 }