wok view pypar2/receipt @ rev 25561
created recipe for ext4magic
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 30 06:26:09 2023 +0100 (18 months ago) |
parents | 59547e97954f |
children | b81ceff0b056 |
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 LICENSE="GPL3"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20190804084742/http://pypar2.silent-blade.org/"
11 WGET_URL="https://web.archive.org/web/20160423232145/http://pypar2.silent-blade.org/uploads/Main/$TARBALL"
13 DEPENDS="pygtk par2 python-pyxml python-vte"
14 BUILD_DEPENDS="findutils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \
20 sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make prefix=/usr DESTDIR=$DESTDIR install
27 sdft $install/usr/share/applications/pypar2.desktop \
28 -i -s "Categories=GTK;Utility;"
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs/
35 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
36 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
37 }