wok-next annotate sharutils/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents
children 1ff723a6455b
rev   line source
pascal@17528 1 # SliTaz package receipt.
pascal@17528 2
pascal@17528 3 PACKAGE="sharutils"
pascal@17528 4 VERSION="4.14"
pascal@17528 5 CATEGORY="utilities"
pascal@17528 6 SHORT_DESC="makes 'shar' shell archives out of many files."
pascal@17528 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17528 8 LICENSE="GPL3"
pascal@17528 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@17528 10 WEB_SITE="https://www.gnu.org/software/sharutils/"
pascal@17528 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@17528 12
pascal@17528 13 # Rules to configure and make the package.
pascal@17528 14 compile_rules()
pascal@17528 15 {
pascal@17528 16 ./configure --prefix=/usr \
pascal@17528 17 --infodir=/usr/share/info \
pascal@17528 18 --mandir=/usr/share/man \
pascal@17528 19 $CONFIGURE_ARGS &&
pascal@17528 20 make &&
pascal@17528 21 make DESTDIR=$DESTDIR install
pascal@17528 22 }
pascal@17528 23
pascal@17528 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17528 25 genpkg_rules()
pascal@17528 26 {
pascal@17528 27 mkdir -p $fs/usr
pascal@17528 28 cp -a $install/usr/bin $fs/usr
pascal@17528 29 }