wok-current annotate pypar2/receipt @ rev 18656
Add pypar2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 21:12:02 2015 +0100 (2015-12-02) |
parents | 583a65228358 |
children | 052364228d11 |
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" |
pascal@18655 | 13 |
pascal@18655 | 14 # Rules to configure and make the package. |
pascal@18655 | 15 compile_rules() |
pascal@18655 | 16 { |
pascal@18655 | 17 sed -i 's|/usr/local|/usr|' Makefile |
pascal@18655 | 18 make && |
pascal@18655 | 19 make DESTDIR=$DESTDIR install |
pascal@18655 | 20 } |
pascal@18655 | 21 |
pascal@18655 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18655 | 23 genpkg_rules() |
pascal@18655 | 24 { |
pascal@18655 | 25 cp -a $install/* $fs/ |
pascal@18656 | 26 sed -i 's/Categories=.*/Categories=Utilities/' \ |
pascal@18656 | 27 $fs/usr/share/applications/pypar2.desktop |
pascal@18656 | 28 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2 |
pascal@18656 | 29 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2 |
pascal@18655 | 30 } |