wok annotate jfsutils/receipt @ rev 25102

Use archive.org for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 21 16:00:20 2022 +0000 (2022-06-21)
parents 21fcf31dacec
children 7dd01dedad38
rev   line source
pascal@1690 1 # SliTaz package receipt.
pascal@1690 2
pascal@1690 3 PACKAGE="jfsutils"
Hans-G?nter@21081 4 VERSION="1.1.15"
pascal@1690 5 CATEGORY="system-tools"
Hans-G?nter@21081 6 TAGS="filesystem"
pascal@1690 7 SHORT_DESC="Utilities for manipulating jfs file-system."
pascal@1690 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
Hans-G?nter@21081 10 WEB_SITE="http://jfs.sourceforge.net/"
Hans-G?nter@21081 11
pascal@1690 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1690 13 WGET_URL="${WEB_SITE}project/pub/$TARBALL"
pascal@14999 14
pankso@12481 15 DEPENDS="util-linux-uuid"
pascal@15614 16 BUILD_DEPENDS="util-linux-uuid-dev"
pascal@1690 17
pascal@24361 18 # What is the latest version available today?
pascal@24361 19 current_version()
pascal@24361 20 {
pascal@24361 21 wget -O - http://jfs.sourceforge.net/jfs_lr.html 2>/dev/null | \
pascal@24361 22 sed '/release/!d;s|.*release ||;s| is.*||;q'
pascal@24361 23 }
pascal@24361 24
pascal@1690 25 # Rules to configure and make the package.
pascal@1690 26 compile_rules()
pascal@1690 27 {
Hans-G?nter@21081 28 ./configure \
Hans-G?nter@21081 29 --prefix=/usr \
Hans-G?nter@21081 30 --infodir=/usr/share/info \
Hans-G?nter@21081 31 --mandir=/usr/share/man \
Hans-G?nter@21081 32 $CONFIGURE_ARGS &&
Hans-G?nter@21081 33 make -j 1 &&
pascal@14999 34 make DESTDIR=$DESTDIR install
pascal@1690 35 }
pascal@1690 36
pascal@1690 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1690 38 genpkg_rules()
pascal@1690 39 {
pascal@1690 40 mkdir -p $fs/usr
pascal@14999 41 cp -a $install/usr/sbin $fs/usr
pascal@1690 42 }