wok-current annotate pypar2/receipt @ rev 25525
created recipe for lua5.1-lpeg 1.0.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:54:40 2023 +0100 (18 months ago) |
parents | 59547e97954f |
children |
rev | line source |
---|---|
pascal@18655 | 1 # SliTaz package receipt. |
pascal@18655 | 2 |
pascal@18655 | 3 PACKAGE="pypar2" |
pascal@18655 | 4 VERSION="1.4" |
pascal@18655 | 5 CATEGORY="development" |
pascal@18655 | 6 SHORT_DESC="A graphical frontend for the par2 utility" |
pascal@24728 | 7 LICENSE="GPL3" |
pascal@18655 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18655 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25443 | 10 WEB_SITE="https://web.archive.org/web/20190804084742/http://pypar2.silent-blade.org/" |
pascal@25443 | 11 WGET_URL="https://web.archive.org/web/20160423232145/http://pypar2.silent-blade.org/uploads/Main/$TARBALL" |
pascal@18655 | 12 |
pascal@18656 | 13 DEPENDS="pygtk par2 python-pyxml python-vte" |
al@18657 | 14 BUILD_DEPENDS="findutils" |
pascal@18655 | 15 |
pascal@24713 | 16 # What is the latest version available today? |
pascal@24713 | 17 current_version() |
pascal@24713 | 18 { |
pascal@24713 | 19 wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \ |
pascal@24713 | 20 sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q' |
pascal@24713 | 21 } |
pascal@24713 | 22 |
pascal@18655 | 23 # Rules to configure and make the package. |
pascal@18655 | 24 compile_rules() |
pascal@18655 | 25 { |
al@18657 | 26 make prefix=/usr DESTDIR=$DESTDIR install |
al@18657 | 27 sdft $install/usr/share/applications/pypar2.desktop \ |
al@18657 | 28 -i -s "Categories=GTK;Utility;" |
pascal@18655 | 29 } |
pascal@18655 | 30 |
pascal@18655 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18655 | 32 genpkg_rules() |
pascal@18655 | 33 { |
pascal@18655 | 34 cp -a $install/* $fs/ |
pascal@18656 | 35 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2 |
pascal@18656 | 36 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2 |
pascal@18655 | 37 } |
al@18657 | 38 |