void-packages/srcpkgs/cdrtools/template
2016-01-15 13:18:52 +01:00

24 lines
800 B
Bash

# Template file for 'cdrtools'
pkgname=cdrtools
version=3.01
revision=2
makedepends="acl-devel"
conf_files="/etc/default/rscsi /etc/default/cdrecord"
short_desc="Highly portable CD/DVD/BluRay command line recording software"
homepage="http://cdrecord.org/"
license="CDDL-1.0"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
do_build() {
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
make CC=$CC RUNPATH= LDPATH= NOWARN=1
}
do_install() {
make 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
rm -rf ${DESTDIR}/usr/share/man/man3
}