wok view asunder/receipt @ rev 100
Moved SecurityPolicy to xorg-server
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 16:44:46 2008 +0100 (2008-01-04) |
parents | |
children | 2d000d79fdb1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="asunder"
4 VERSION="1.0"
5 CATEGORY="extra"
6 SHORT_DESC="GTK light CD ripper."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libcddb cdparanoia"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://littlesvr.ca/asunder/"
11 WGET_URL="http://littlesvr.ca/asunder/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 strip -s $fs/usr/bin/*
32 }
34 # Set permission on cdrom device to alown all users ripping
35 post_install()
36 {
37 local root
38 root=$1
39 DRIVE_NAME=`cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f 3`
40 echo -n "Chmoding cdrom device..."
41 chmod 0666 $root/dev/$DRIVE_NAME
42 status
43 }