wok annotate libburn/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents 365a61a60277
children
rev   line source
devl547@5624 1 # SliTaz package receipt.
devl547@5624 2
devl547@5624 3 PACKAGE="libburn"
Hans-G?nter@24721 4 VERSION="1.5.4"
devl547@5624 5 CATEGORY="utilities"
Hans-G?nter@23014 6 SHORT_DESC="Library for reading, mastering and writing optical disks."
devl547@5624 7 MAINTAINER="devl547@gmail.com"
pascal@15472 8 LICENSE="GPL2"
Hans-G?nter@24721 9 WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wiki"
Hans-G?nter@21151 10
Hans-G?nter@21151 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24994 12 WGET_URL="https://files.libburnia-project.org/releases/$TARBALL"
devl547@5624 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@5624 21 # Rules to configure and make the package.
devl547@5624 22 compile_rules()
devl547@5624 23 {
gokhlayeh@11573 24 ./configure $CONFIGURE_ARGS &&
devl547@5624 25 make &&
Hans-G?nter@24721 26 make install DESTDIR=$DESTDIR
devl547@5624 27 }
devl547@5624 28
devl547@5624 29 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5624 30 genpkg_rules()
devl547@5624 31 {
Hans-G?nter@24721 32 cook_copy_files *.so*
devl547@5624 33 }