wok-current view cdrtools/receipt @ rev 20560

net-tools: use archive web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 19:27:33 2018 +0100 (2018-12-12)
parents a511baf85854
children 6e8b1bcb30e2
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 WEB_SITE="http://cdrecord.berlios.de/private/cdrecord.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 sed -i 's|uname -m|echo i686|' RULES/*
23 {
24 ./configure
25 make && make DESTDIR=$DESTDIR install
26 } 2>&1 | sed 's/: No such/: no such/'
28 mkdir -p $install/usr
29 mv $install/opt/schily/* $install/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/siconv $fs/usr/lib
40 cp -a $install/usr/share/doc $fs/usr/share
41 }