wok view cdrtools/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 21df5a71ed8f
children a511baf85854
line source
1 # SliTaz package receipt.
3 PACKAGE="cdrtools"
4 VERSION="3.00"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line programs to record CD/DVD/BluRay media."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html"
11 WGET_URL="ftp://ftp.berlios.de/pub/cdrecord/$TARBALL"
13 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # hack makefile
19 cd $src/DEFAULTS
20 sed -i 's/DEFINSGRP= bin/DEFINSGRP= root/' Defaults.linux
21 cd ..
22 {
23 ./configure
24 make && make DESTDIR=$DESTDIR install
25 } 2>&1 | sed 's/: No such/: no such/'
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/opt/schily/bin $fs/usr
34 cp -a $install/opt/schily/sbin $fs/usr
35 cp -a $install/opt/schily/lib/siconv $fs/usr/lib
36 cp -a $install/opt/schily/share/doc $fs/usr/share
37 }