2009-10-08 23:05:16 +00:00
|
|
|
# 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
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="acl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/default/rscsi /etc/default/cdrecord"
|
2009-10-08 23:05:16 +00:00
|
|
|
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"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-06-06 16:01:59 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2015-08-30 08:17:59 +00:00
|
|
|
checksum=ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
|
2009-10-08 23:05:16 +00:00
|
|
|
|
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
|
2009-10-08 23:05:16 +00:00
|
|
|
# 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
|
2009-10-08 23:05:16 +00:00
|
|
|
}
|