void-packages/srcpkgs/cdrtools/template

25 lines
778 B
Bash

# Template file for 'cdrtools'
pkgname=cdrtools
version=3.00
revision=5
build_style=gnu-makefile
make_build_args="RUNPATH= LDPATH= NOWARN=true"
make_install_args="INS_BASE=/usr MANDIR=/man"
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="ftp://ftp.gwdg.de/linux/cdrecord/cdrtools-3.00.tar.bz2"
checksum=7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d
post_extract() {
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
}
post_install() {
# Remove useless stuff
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled
}