wok-next view pypar2/receipt @ rev 20827

new tor: 0.3.3.7
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 10:13:14 2018 +0000 (2018-06-14)
parents 99b32bb95de0
children c022997c7a57
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 }