wok-6.x annotate pypar2/receipt @ rev 18655
Add pypar2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 20:45:37 2015 +0100 (2015-12-02) |
parents | |
children | 99b32bb95de0 |
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 #http://pypar2.silent-blade.org/uploads/Main/pypar2-1.4.tar.gz |
pascal@18655 | 12 |
pascal@18655 | 13 DEPENDS="pygtk par2" |
pascal@18655 | 14 |
pascal@18655 | 15 # Rules to configure and make the package. |
pascal@18655 | 16 compile_rules() |
pascal@18655 | 17 { |
pascal@18655 | 18 sed -i 's|/usr/local|/usr|' Makefile |
pascal@18655 | 19 make && |
pascal@18655 | 20 make DESTDIR=$DESTDIR install |
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@18655 | 27 rm -rf $fs/usr/share/man |
pascal@18655 | 28 } |