wok 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 e15ae5e3cd1d
children 9e8cd8926035
files rubyripper/receipt rubyripper/stuff/rubyripper rubyripper/stuff/rubyripper.desktop rubyripper/stuff/rubyripper.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rubyripper/receipt	Sun Sep 05 11:49:22 2010 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rubyripper"
     1.7 +VERSION="0.6.0"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="A secure audio disc ripper"
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="cd-discid cdparanoia-III flac normalize ruby"
    1.12 +SUGGESTED="ruby-gtk2 lame orgenc"
    1.13 +BUILD_DEPENDS="cd-discid cdparanoia-III lame normalize ruby vorbis-tools"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://code.google.com/p/rubyripper"
    1.16 +WGET_URL="http://rubyripper.googlecode.com/files/$TARBALL"
    1.17 +TAGS="audio cd ripper"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--enable-gtk2 \
    1.26 +		--enable-cli \
    1.27 +		--enable-lang-all \
    1.28 +		&& make && make DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr 
    1.35 +	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	# desktop file
    1.38 +	mkdir -p $fs/usr/share/applications
    1.39 +	cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
    1.40 +	# icon
    1.41 +	mkdir -p $fs/usr/share/pixmaps
    1.42 +	cp -a stuff/$PACKAGE.png $fs/usr/share/pixmaps
    1.43 +	# launcher
    1.44 +	cp -a stuff/$PACKAGE $fs/usr/bin
    1.45 +}
    1.46 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rubyripper/stuff/rubyripper	Sun Sep 05 11:49:22 2010 +0200
     2.3 @@ -0,0 +1,10 @@
     2.4 +#!/bin/sh
     2.5 +#	Rubyripper launcher
     2.6 +#	(C) 2007-2010 SliTaz - GNU General Public License v3. 
     2.7 +
     2.8 +RUBY_GTK2_PC=$(/usr/bin/pkg-config --exists ruby-gtk2)
     2.9 +if [ $RUBY_GTK2_PC ]; then
    2.10 +	/usr/bin/rrip_gui
    2.11 +else
    2.12 +	/usr/bin/xterm -T "Rubyripper CLI" -e /usr/bin/rrip_cli
    2.13 +fi
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/rubyripper/stuff/rubyripper.desktop	Sun Sep 05 11:49:22 2010 +0200
     3.3 @@ -0,0 +1,7 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=Rubyripper CD ripper
     3.7 +Comment=A Secure Audio Disc Ripper
     3.8 +Icon=rubyripper.png
     3.9 +Exec=rrip_gui
    3.10 +Categories=Audio;AudioVideo;
     4.1 Binary file rubyripper/stuff/rubyripper.png has changed