# HG changeset patch # User Pascal Bellard # Date 1449085537 -3600 # Node ID 583a65228358d042b79ccea9a1f973fa7e42706f # Parent d8b4e22f4be13447a4ce179fc5f7a25c3a7bb6de Add pypar2 diff -r d8b4e22f4be1 -r 583a65228358 pypar2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pypar2/receipt Wed Dec 02 20:45:37 2015 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pypar2" +VERSION="1.4" +CATEGORY="development" +SHORT_DESC="A graphical frontend for the par2 utility" +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://pypar2.silent-blade.org/" +WGET_URL="$WEB_SITE/uploads/Main/$TARBALL" +#http://pypar2.silent-blade.org/uploads/Main/pypar2-1.4.tar.gz + +DEPENDS="pygtk par2" + +# Rules to configure and make the package. +compile_rules() +{ + sed -i 's|/usr/local|/usr|' Makefile + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ + rm -rf $fs/usr/share/man +}