wok-next view cdrtools/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 6befec62b46c |
children | 653202875a48 |
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 sed -i 's|/opt/schily|/usr|g; s|DEFINSGRP=.*|DEFINSGRP=root|' \
19 DEFAULTS/Defaults.linux
20 # install rscsi to /usr/bin instead of /usr/sbin
21 sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
23 export GMAKE_NOWARN=true INS_BASE=/usr INS_RBASE=/
24 cp cdda2wav/lconfig.h.in cdda2wav/lconfig.h
26 make &&
27 make install || return 1
29 # cdrkit compatibility
30 ln -s cdrecord $install/usr/bin/wodim
31 ln -s readcd $install/usr/bin/readom
32 ln -s mkisofs $install/usr/bin/genisoimage
33 ln -s cdda2wav $install/usr/bin/icedax
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 cdrtools)
39 copy @std
40 DEPENDS="acl libcap"
41 CONFIG_FILES="/etc/default/cdrecord /etc/default/rscsi"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }