wok view rubyripper/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | b569b85b0fb9 |
children | 5db546345599 |
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 }