summaryrefslogblamecommitdiff
path: root/user/cdrtools/APKBUILD
blob: 0145aa3519ae7b922d49634fbeafcfb3922ecab6 (plain) (tree)
1
2
3
4
5



                                                  
        






















                                                                           


                                                                       


                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cdrtools
pkgver=3.01
pkgrel=1
pkgdesc="Highly portable CD/DVD/Blu-Ray command line recording software"
url="http://cdrecord.sourceforge.net/private/cdrecord.html"
arch="all"
options="suid"
license="CDDL-1.0"
depends=""
makedepends="attr-dev byacc expat-dev openssl-dev smake"
subpackages="$pkgname-doc"
source="https://download.sourceforge.net/cdrtools/cdrtools-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	smake INS_BASE=/usr
}

check() {
	cd "$builddir"
	smake check
}

package() {
	cd "$builddir"
	smake INS_BASE=/usr DESTDIR="$pkgdir" install

	mv "$pkgdir"/usr/share/man/man3 "$pkgdir"/usr/share/man/man3sch
	rename .3 .3sch "$pkgdir"/usr/share/man/man3sch/*.3
}

sha512sums="54f06496e47184e324fc9d8b1153d3c806ed43c3c57e2a8d79a79afe12aa5334e82fa500fe1b1bf49307ad7dfabe687f6e1ad914fc2f0c5c429d8e6a34c293eb  cdrtools-3.01.tar.bz2"