void-packages/srcpkgs/cdrtools/template

25 lines
800 B
Bash
Raw Normal View History

# Template file for 'cdrtools'
pkgname=cdrtools
2015-08-30 10:17:59 +02:00
version=3.01
2016-01-15 13:18:52 +01:00
revision=2
makedepends="acl-devel"
conf_files="/etc/default/rscsi /etc/default/cdrecord"
short_desc="Highly portable CD/DVD/BluRay command line recording software"
2014-08-23 17:23:35 +02:00
homepage="http://cdrecord.org/"
2015-08-30 10:17:59 +02:00
license="CDDL-1.0"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
2015-08-30 10:17:59 +02:00
checksum=ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
2015-08-30 10:17:59 +02:00
do_build() {
2015-06-03 01:35:25 +02:00
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
2015-08-30 10:17:59 +02:00
make CC=$CC RUNPATH= LDPATH= NOWARN=1
2015-06-03 01:35:25 +02:00
}
2015-08-30 10:17:59 +02:00
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
2016-01-15 13:18:17 +01:00
rm -rf ${DESTDIR}/usr/share/man/man3
}