wok-current rev 83
Add : asunder (GTK light CD ripper)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 02 12:20:39 2008 +0100 (2008-01-02) |
parents | b0e619b5e1c5 |
children | 79c672f0fb4b |
files | asunder/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asunder/receipt Wed Jan 02 12:20:39 2008 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="asunder" 1.7 +VERSION="1.0" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="GTK light CD ripper." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ libcddb cdparanoia" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://littlesvr.ca/asunder/" 1.14 +WGET_URL="http://littlesvr.ca/asunder/releases/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + $CONFIGURE_ARGS 1.23 + make 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share/locale 1.31 + cp -a $_pkg/usr/bin $fs/usr 1.32 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.33 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.34 + strip -s $fs/usr/bin/* 1.35 +} 1.36 + 1.37 +# Set permission on cdrom device to alown all users ripping 1.38 +post_install() 1.39 +{ 1.40 + local root 1.41 + root=$1 1.42 + DRIVE_NAME=`cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f 3` 1.43 + echo -n "Chmoding cdrom device..." 1.44 + chmod 0666 $root/dev/$DRIVE_NAME 1.45 + status 1.46 +}