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