wok annotate par2/receipt @ rev 23275
updated par2 (0.8.0 -> 0.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 15:42:00 2020 +0100 (2020-03-28) |
parents | 6f2188ee6be5 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@9280 | 1 # SliTaz package receipt. |
pascal@9280 | 2 |
pascal@9280 | 3 PACKAGE="par2" |
Hans-G?nter@23275 | 4 VERSION="0.8.1" |
pascal@9562 | 5 CATEGORY="system-tools" |
pascal@9280 | 6 SHORT_DESC="Utility for posting and recovery of multi-part archives." |
pascal@9280 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
Hans-G?nter@23275 | 9 WEB_SITE="https://github.com/Parchive/par2cmdline" |
Hans-G?nter@23275 | 10 |
Hans-G?nter@23275 | 11 SOURCE="par2cmdline" |
pascal@9280 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23275 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
Hans-G?nter@23275 | 14 |
pascal@20747 | 15 PROVIDE="par2cmdline" |
Hans-G?nter@23275 | 16 DEPENDS="gcc83-lib-base" |
Hans-G?nter@23275 | 17 BUILD_DEPENDS="automake gcc83" |
pascal@9280 | 18 |
pascal@9280 | 19 # Rules to configure and make the package. |
pascal@9280 | 20 compile_rules() |
pascal@9280 | 21 { |
Hans-G?nter@23275 | 22 ./automake.sh && |
Hans-G?nter@23275 | 23 ./configure \ |
Hans-G?nter@23275 | 24 CC=gcc-83 \ |
Hans-G?nter@23275 | 25 CXX=g++-83 \ |
Hans-G?nter@23275 | 26 --prefix=/usr \ |
Hans-G?nter@23275 | 27 --mandir=/usr/share/man \ |
pascal@20747 | 28 $CONFIGURE_ARGS && |
pascal@9280 | 29 make && |
pascal@15375 | 30 make DESTDIR=$DESTDIR install |
pascal@9280 | 31 } |
pascal@9280 | 32 |
pascal@9280 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9280 | 34 genpkg_rules() |
pascal@9280 | 35 { |
pascal@20747 | 36 mkdir -p $fs/usr/share/doc |
Hans-G?nter@23275 | 37 |
Hans-G?nter@23275 | 38 cp $src/README $fs/usr/share/doc |
Hans-G?nter@23275 | 39 cp -a $install/usr/bin $fs/usr |
pascal@9280 | 40 } |