wok-current view 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 |
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 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pypar2.silent-blade.org/"
10 WGET_URL="$WEB_SITE/uploads/Main/$TARBALL"
12 DEPENDS="pygtk par2 python-pyxml python-vte"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|/usr/local|/usr|' Makefile
18 make &&
19 make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/* $fs/
26 sed -i 's/Categories=.*/Categories=Utilities/' \
27 $fs/usr/share/applications/pypar2.desktop
28 rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
29 ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
30 }