void-packages/srcpkgs/cdrtools/template

25 lines
800 B
Bash
Raw Normal View History

# Template file for 'cdrtools'
pkgname=cdrtools
2015-08-30 08:17:59 +00:00
version=3.01
2016-01-15 12:18:52 +00: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 15:23:35 +00:00
homepage="http://cdrecord.org/"
2015-08-30 08:17:59 +00:00
license="CDDL-1.0"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
2015-08-30 08:17:59 +00:00
checksum=ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
2015-08-30 08:17:59 +00:00
do_build() {
2015-06-02 23:35:25 +00:00
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
2015-08-30 08:17:59 +00:00
make CC=$CC RUNPATH= LDPATH= NOWARN=1
2015-06-02 23:35:25 +00:00
}
2015-08-30 08:17:59 +00: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 12:18:17 +00:00
rm -rf ${DESTDIR}/usr/share/man/man3
}