wok-6.x view cdrtools/receipt @ rev 13832

distcc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 07 13:02:55 2013 +0100 (2013-01-07)
parents
children 21df5a71ed8f
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 DEPENDS=""
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # hack makefile
17 cd $src/DEFAULTS
18 sed -i 's/DEFINSGRP= bin/DEFINSGRP= root/' Defaults.linux
19 cd ..
20 ./configure
21 make && 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/lib $fs/usr/share
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/opt/schily/bin $fs/usr
30 cp -a $_pkg/opt/schily/sbin $fs/usr
31 cp -a $_pkg/opt/schily/lib/siconv $fs/usr/lib
32 cp -a $_pkg/opt/schily/share/doc $fs/usr/share
33 }