wok-6.x annotate hfsutils/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents a78610b2eb47
children bc2b9d9bed6f
rev   line source
pascal@18217 1 # SliTaz package receipt.
pascal@18217 2
pascal@18217 3 PACKAGE="hfsutils"
pascal@18217 4 VERSION="3.2.6"
pascal@18217 5 CATEGORY="system-tools"
pascal@18217 6 SHORT_DESC="HFS Filesystem user space tools."
pascal@18217 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18217 8 LICENSE="GPL2"
pascal@18217 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 10 WEB_SITE="https://www.mars.org/home/rob/proj/hfs/"
pascal@18217 11 WGET_URL="ftp://ftp.mars.org/pub/hfs/$TARBALL"
pascal@18217 12
pascal@24445 13 # What is the latest version available today?
pascal@24445 14 current_version()
pascal@24445 15 {
pascal@24445 16 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24445 17 sed '/hfsutils-[0-9]/!d;/tar/!d;s|.*hfsutils-||;s|.tar.*||;q'
pascal@24445 18 }
pascal@24445 19
pascal@18217 20 # Rules to configure and make the package.
pascal@18217 21 compile_rules()
pascal@18217 22 {
pascal@18217 23 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
pascal@18217 24 sed -i "s|DEST =.|&$DESTDIR|" Makefile.in
pascal@18217 25 ./configure --prefix=/usr \
pascal@18217 26 $CONFIGURE_ARGS &&
pascal@18217 27 make &&
pascal@18217 28 make DESTDIR=$DESTDIR install
pascal@18217 29 }
pascal@18217 30
pascal@18217 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18217 32 genpkg_rules()
pascal@18217 33 {
pascal@18217 34 mkdir -p $fs//usr
pascal@18217 35 cp -a $install/usr/bin $fs/usr
pascal@18217 36 }