wok annotate libisofs/receipt @ rev 24979

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 07 20:53:56 2022 +0000 (2022-05-07)
parents ede1d184d5c5
children 1c88796e4a70
rev   line source
devl547@5625 1 # SliTaz package receipt.
devl547@5625 2
devl547@5625 3 PACKAGE="libisofs"
Hans-G?nter@24802 4 VERSION="1.5.4"
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@24802 25 make &&
Hans-G?nter@24802 26 make 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 {
Hans-G?nter@24802 32 cook_copy_files *.so*
devl547@5625 33 }