wok-next annotate par2/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 51a1ebbda768 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@9280 | 1 # SliTaz package receipt. |
pascal@9280 | 2 |
pascal@9280 | 3 PACKAGE="par2" |
pascal@9280 | 4 SOURCE="par2cmdline" |
pascal@9280 | 5 VERSION="0.4" |
pascal@9562 | 6 CATEGORY="system-tools" |
pascal@9280 | 7 SHORT_DESC="Utility for posting and recovery of multi-part archives." |
pascal@9280 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 9 LICENSE="GPL2" |
pascal@9280 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9280 | 11 WEB_SITE="http://parchive.sourceforge.net/" |
pascal@9280 | 12 WGET_URL="$SF_MIRROR/parchive/$TARBALL" |
pascal@15375 | 13 |
pascal@9283 | 14 DEPENDS="gcc-lib-base" |
pascal@9280 | 15 |
pascal@9280 | 16 # Rules to configure and make the package. |
pascal@9280 | 17 compile_rules() |
pascal@9280 | 18 { |
pascal@9280 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@9280 | 20 --mandir=/usr/share/man \ |
pascal@9280 | 21 $CONFIGURE_ARGS && |
pascal@9280 | 22 make && |
pascal@15375 | 23 make DESTDIR=$DESTDIR install |
pascal@9280 | 24 } |
pascal@9280 | 25 |
pascal@9280 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9280 | 27 genpkg_rules() |
pascal@9280 | 28 { |
pascal@15375 | 29 cp -a $install/usr $fs |
pascal@9280 | 30 } |