wok view rubyripper/receipt @ rev 25614

Add libslirp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 11:59:41 2023 +0000 (15 months ago)
parents d765616e1f3d
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }