wok view pypar2/receipt @ rev 19242

Up tazlito (426)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 11:25:38 2016 +0200 (2016-06-28)
parents 99b32bb95de0
children b7f1bd1b9ac7
line source
1 # SliTaz package receipt.
3 PACKAGE="pypar2"
4 VERSION="1.4"
5 CATEGORY="development"
6 SHORT_DESC="A graphical frontend for the par2 utility"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pypar2.silent-blade.org/"
10 WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
12 DEPENDS="pygtk par2 python-pyxml python-vte"
13 BUILD_DEPENDS="findutils"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make prefix=/usr DESTDIR=$DESTDIR install
19 sdft $install/usr/share/applications/pypar2.desktop \
20 -i -s "Categories=GTK;Utility;"
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs/
27 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
28 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
29 }