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