wok-next view cdrtools/receipt @ rev 21700

updated gphoto2 (2.5.15 -> 2.5.23)
author Hans-G?nter Theisgen
date Tue Jun 30 17:45:45 2020 +0100 (2020-06-30)
parents b9da2b1ae771
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cdrtools"
4 VERSION="3.01"
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://cdrtools.sourceforge.net/private/cdrecord.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="acl-dev libcap-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules()
18 {
19 sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \
20 DEFAULTS/Defaults.linux
21 # install rscsi to /usr/bin instead of /usr/sbin
22 sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
24 export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/
25 cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h
27 make -j1 &&
28 make -j1 install || return 1
30 # cdrkit compatibility
31 ln -s cdrecord $install/usr/bin/wodim
32 ln -s readcd $install/usr/bin/readom
33 ln -s mkisofs $install/usr/bin/genisoimage
34 ln -s cdda2wav $install/usr/bin/icedax
35 }
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 cdrtools)
41 copy @std
42 DEPENDS="acl libcap"
43 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }