wok view pypar2/receipt @ rev 24545

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 24 19:32:16 2022 +0000 (2022-02-24)
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 }