wok view rubyripper/receipt @ rev 11712
Up: rubyripper (0.6.2)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 19 18:39:13 2012 +0100 (2012-02-19) |
parents | 893d0df81d1f |
children | 8ed3888d6736 |
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 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 }