wok annotate libisofs/receipt @ rev 24447

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 17:51:14 2022 +0000 (2022-02-14)
parents 588bca34a52b
children b087c7dc538d
rev   line source
devl547@5625 1 # SliTaz package receipt.
devl547@5625 2
devl547@5625 3 PACKAGE="libisofs"
Hans-G?nter@23077 4 VERSION="1.5.2"
devl547@5625 5 CATEGORY="utilities"
Hans-G?nter@21241 6 SHORT_DESC="Libburnia is a project for reading, mastering and writing optical disks."
devl547@5625 7 MAINTAINER="devl547@gmail.com"
pascal@15473 8 LICENSE="GPL2"
Hans-G?nter@21241 9 WEB_SITE="https://dev.lovelyhq.com/libburnia/libisofs"
Hans-G?nter@21241 10
devl547@5625 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@5625 12 WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
devl547@5625 13
pascal@24447 14 # What is the latest version available today?
pascal@24447 15 current_version()
pascal@24447 16 {
pascal@24447 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 19 }
pascal@24447 20
devl547@5625 21 # Rules to configure and make the package.
devl547@5625 22 compile_rules()
devl547@5625 23 {
slaxemulator@10129 24 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21241 25 make -j1 &&
Hans-G?nter@21241 26 make -j1 install
devl547@5625 27 }
devl547@5625 28
devl547@5625 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5625 30 genpkg_rules()
devl547@5625 31 {
devl547@5625 32 mkdir -p $fs/usr/lib
Hans-G?nter@23077 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@5625 34 }