wok-6.x view rubyripper/receipt @ rev 6161

Up: thunderbird-langpack-de (3.1.3)
author Dominique Corbex <domcox@slitaz.org>
date Fri Sep 10 12:21:01 2010 +0200 (2010-09-10)
parents
children f3bc1dc1f2d1
line source
1 # SliTaz package receipt.
3 PACKAGE="rubyripper"
4 VERSION="0.6.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A secure audio disc ripper"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="cd-discid cdparanoia-III flac normalize ruby"
9 SUGGESTED="ruby-gtk2 lame orgenc"
10 BUILD_DEPENDS="cd-discid cdparanoia-III lame normalize ruby vorbis-tools"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://code.google.com/p/rubyripper"
13 WGET_URL="http://rubyripper.googlecode.com/files/$TARBALL"
14 TAGS="audio cd ripper"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --enable-gtk2 \
23 --enable-cli \
24 --enable-lang-all \
25 && make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 # desktop file
35 mkdir -p $fs/usr/share/applications
36 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
37 # icon
38 mkdir -p $fs/usr/share/pixmaps
39 cp -a stuff/$PACKAGE.png $fs/usr/share/pixmaps
40 # launcher
41 cp -a stuff/$PACKAGE $fs/usr/bin
42 }