# Template file for 'cdrtools'
pkgname=cdrtools
_dist_ver=2.01.01
_patch_ver=a70
version=${_dist_ver}${_patch_ver}
wrksrc=${pkgname}-${_dist_ver}
distfiles="ftp://ftp.berlios.de/pub/cdrecord/alpha/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_build_args="CCOM=gcc RUNPATH= LDPATH= NOWARN=true"
make_install_args="INS_BASE=/usr MANDIR=/share/man"
short_desc="Highly portable CD/DVD/BluRay command line recording software"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6d9326264437b1188f987f7e0d9d946bf3258e65e71cea39fe352c3513bd36bb
long_desc="
 $pkgname is a set of command line programs that allows to record
 CD/DVD/BluRay media. 

 The suite includes the following programs:
 
 cdrecord A CD/DVD/BD recording program
 readcd   A program to read CD/DVD/BD media with CD-clone features
 cdda2wav The most evolved CD-audio extraction program with paranoia support
 mkisofs  A program to create hybrid ISO9660/JOLIET/HFS filesystes with
	  optional Rock Ridge attributes
 isodebug A program to print mkisofs debug information from media
 isodump  A program to dump ISO-9660 media
 isoinfo  A program to analyse/verify ISO/9660/Joliet/Rock-Ridge Filesystems
 isovfy   A program to verify the ISO-9660 structures
 rscsi    A Remote SCSI enabling daemon"

conf_files="/etc/default/rscsi /etc/default/cdrecord"

Add_dependency run glibc
Add_dependency run acl
Add_dependency build acl-devel

post_install()
{
	# Remove useless stuff
	rm -rf ${DESTDIR}/usr/include
	rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled
}
