wok view pypar2/receipt @ rev 25003
updated nspr and nspr-dev (4.25 -> 4.33)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:53:05 2022 +0100 (2022-05-16) |
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 }