wok annotate pypar2/receipt @ rev 19200
gucharmap-dev: fix packaging too
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 09 01:02:19 2016 +0300 (2016-06-09) |
parents | 99b32bb95de0 |
children | b7f1bd1b9ac7 |
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@18655 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18655 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18655 | 9 WEB_SITE="http://pypar2.silent-blade.org/" |
pascal@18655 | 10 WGET_URL="$WEB_SITE/uploads/Main/$TARBALL" |
pascal@18655 | 11 |
pascal@18656 | 12 DEPENDS="pygtk par2 python-pyxml python-vte" |
al@18657 | 13 BUILD_DEPENDS="findutils" |
pascal@18655 | 14 |
pascal@18655 | 15 # Rules to configure and make the package. |
pascal@18655 | 16 compile_rules() |
pascal@18655 | 17 { |
al@18657 | 18 make prefix=/usr DESTDIR=$DESTDIR install |
al@18657 | 19 sdft $install/usr/share/applications/pypar2.desktop \ |
al@18657 | 20 -i -s "Categories=GTK;Utility;" |
pascal@18655 | 21 } |
pascal@18655 | 22 |
pascal@18655 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18655 | 24 genpkg_rules() |
pascal@18655 | 25 { |
pascal@18655 | 26 cp -a $install/* $fs/ |
pascal@18656 | 27 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2 |
pascal@18656 | 28 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2 |
pascal@18655 | 29 } |
al@18657 | 30 |