wok-6.x view pypar2/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | b7f1bd1b9ac7 |
children | c15fedfb9582 |
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="http://pypar2.silent-blade.org/"
11 WGET_URL="$WEB_SITE/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 }