wok-stable diff rubyripper/receipt @ rev 8341

Add: ratpoison 1.4.5
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 02 05:24:26 2011 +0100 (2011-02-02)
parents
children f3bc1dc1f2d1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rubyripper/receipt	Wed Feb 02 05:24:26 2011 +0100
     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 +