wok view gaupol/receipt @ rev 17994
Up tazpanel, tazpkg.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 24 16:06:58 2015 +0300 (2015-04-24) |
parents | f4c22f009037 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gaupol"
4 VERSION="0.19.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Gaupol is an editor for text-based subtitle files."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://home.gna.org/gaupol"
11 WGET_URL="http://download.gna.org/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="python pygtk"
14 SUGGESTED="mplayer"
15 BUILD_DEPENDS="python-dev intltool gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py clean install --prefix=$install/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
28 sed -i 's|/home/slitaz/wok/gaupol/install||g' \
29 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
30 cp -a $install/usr $fs
31 }