cdrtools: update to 3.02a09. (#11007)

This commit is contained in:
cr6git 2018-01-21 11:11:42 +01:00 committed by Juan RP
parent a57c57e65a
commit 6cc843353a
1 changed files with 13 additions and 9 deletions

View File

@ -1,24 +1,28 @@
# Template file for 'cdrtools'
nocross=yes
pkgname=cdrtools
version=3.01
revision=5
makedepends="acl-devel"
version=3.02a09
revision=1
wrksrc="${pkgname}-${version%a*}"
nocross=yes
hostmakedepends="smake"
makedepends="acl-devel libcap-devel"
conf_files="/etc/default/rscsi /etc/default/cdrecord"
short_desc="Highly portable CD/DVD/BluRay command line recording software"
homepage="http://cdrecord.org/"
homepage="http://cdrtools.sourceforge.net/private/cdrecord.html"
license="CDDL-1.0"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
checksum=aa28438f458ef3f314b79f2029db27679dae1d5ffe1569b6de57742511915e81
do_build() {
sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
make CC="$CC" COPTX="$CFLAGS" LDOPTX="$LDFLAGS" RUNPATH= LDPATH= NOWARN=1
smake CC="$CC" COPTX="$CFLAGS" LDOPTX="$LDFLAGS" RUNPATH= LDPATH= NOWARN=1
}
do_install() {
make INS_BASE=/usr MANDIR=/man DESTDIR=${DESTDIR} install
smake INS_BASE=/usr MANDIR=/man DESTDIR=${DESTDIR} install
# Remove useless stuff
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled