wok-6.x annotate sharutils/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 36158d17fa8a |
children | 71360a13cd94 |
rev | line source |
---|---|
pascal@17528 | 1 # SliTaz package receipt. |
pascal@17528 | 2 |
pascal@17528 | 3 PACKAGE="sharutils" |
Hans-G?nter@21908 | 4 VERSION="4.15.2" |
pascal@17528 | 5 CATEGORY="utilities" |
Hans-G?nter@21908 | 6 SHORT_DESC="The GNU shar utilities for packaging and unpackaging shell archives." |
pascal@17528 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17528 | 8 LICENSE="GPL3" |
Hans-G?nter@21908 | 9 WEB_SITE="https://www.gnu.org/software/sharutils/" |
Hans-G?nter@21908 | 10 |
pascal@17528 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17528 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@17528 | 13 |
pascal@17528 | 14 # Rules to configure and make the package. |
pascal@17528 | 15 compile_rules() |
pascal@17528 | 16 { |
Hans-G?nter@21908 | 17 ./configure \ |
Hans-G?nter@21908 | 18 --prefix=/usr \ |
Hans-G?nter@21908 | 19 --infodir=/usr/share/info \ |
Hans-G?nter@21908 | 20 --mandir=/usr/share/man \ |
pascal@17528 | 21 $CONFIGURE_ARGS && |
pascal@17528 | 22 make && |
pascal@17528 | 23 make DESTDIR=$DESTDIR install |
pascal@17528 | 24 } |
pascal@17528 | 25 |
pascal@17528 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17528 | 27 genpkg_rules() |
pascal@17528 | 28 { |
pascal@17528 | 29 mkdir -p $fs/usr |
pascal@17528 | 30 cp -a $install/usr/bin $fs/usr |
pascal@17528 | 31 } |