wok-6.x annotate par2/receipt @ rev 20839

updated dkms (2.1.1,2 -> 2.6.1)
author Hans-G?nter Theisgen
date Wed Feb 20 15:39:32 2019 +0100 (2019-02-20)
parents 97e4114f1224
children b6ad3bff03b2
rev   line source
pascal@9280 1 # SliTaz package receipt.
pascal@9280 2
pascal@9280 3 PACKAGE="par2"
pascal@9280 4 SOURCE="par2cmdline"
pascal@20747 5 VERSION="0.8.0"
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@20747 12 WGET_URL="https://github.com/Parchive/par2cmdline/archive/v$VERSION.tar.gz"
pascal@20747 13 PROVIDE="par2cmdline"
pascal@15375 14
pascal@9283 15 DEPENDS="gcc-lib-base"
pascal@20747 16 BUILD_DEPENDS="automake"
pascal@9280 17
pascal@9280 18 # Rules to configure and make the package.
pascal@9280 19 compile_rules()
pascal@9280 20 {
pascal@20747 21 ./automake.sh
pascal@20747 22 ./configure --prefix=/usr \
pascal@20747 23 --mandir=/usr/share/man \
pascal@20747 24 $CONFIGURE_ARGS &&
pascal@9280 25 make &&
pascal@15375 26 make DESTDIR=$DESTDIR install
pascal@9280 27 }
pascal@9280 28
pascal@9280 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9280 30 genpkg_rules()
pascal@9280 31 {
pascal@20747 32 mkdir -p $fs/usr/share/doc
pascal@20747 33 cp $src/README $fs/usr/share/doc
pascal@20747 34 cp -a $install/usr/bin $fs/usr
pascal@9280 35 }