wok annotate rubyripper/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (16 months ago)
parents b569b85b0fb9
children 5db546345599
rev   line source
domcox@6120 1 # SliTaz package receipt.
domcox@6120 2
domcox@6120 3 PACKAGE="rubyripper"
domcox@11712 4 VERSION="0.6.2"
domcox@6120 5 CATEGORY="multimedia"
domcox@6120 6 SHORT_DESC="A secure audio disc ripper"
domcox@6120 7 MAINTAINER="domcox@slitaz.org"
pascal@15601 8 LICENSE="GPL3"
pascal@20679 9 WEB_SITE="https://github.com/bleskodev/rubyripper"
al@14742 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@24979 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
al@14742 12 TAGS="audio CD ripper"
al@14742 13
pascal@17486 14 SUGGESTED="ruby-gtk2 lame vorbis-tools"
domcox@6120 15 DEPENDS="cd-discid cdparanoia-III flac normalize ruby"
pascal@16641 16 BUILD_DEPENDS="cd-discid cdparanoia-III lame normalize ruby-dev vorbis-tools"
domcox@6120 17
pascal@24308 18 # What is the latest version available today?
pascal@24308 19 current_version()
pascal@24308 20 {
pascal@24308 21 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 23 }
pascal@24308 24
domcox@6120 25 # Rules to configure and make the package.
domcox@6120 26 compile_rules()
domcox@6120 27 {
domcox@6120 28 ./configure \
domcox@6120 29 --prefix=/usr \
domcox@6120 30 --enable-gtk2 \
domcox@6120 31 --enable-cli \
domcox@6120 32 --enable-lang-all \
al@14742 33 && make && make DESTDIR=$DESTDIR install
domcox@6120 34 }
domcox@6120 35
domcox@6120 36 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@6120 37 genpkg_rules()
domcox@6120 38 {
domcox@6120 39 mkdir -p $fs/usr
al@14742 40 cp -a $install/usr/bin $fs/usr
al@14742 41 cp -a $install/usr/lib $fs/usr
domcox@6120 42 # launcher
samuel_trassare@12059 43 cp -a $stuff/$PACKAGE $fs/usr/bin
domcox@6120 44 }
domcox@6120 45