wok-current view rubyripper/receipt @ rev 25618

Use default gcc 6.3 for libgphoto2
author Stanislas Leduc <shann@slitaz.org>
date Sun Sep 03 19:59:46 2023 +0000 (14 months ago)
parents b569b85b0fb9
children
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 }