diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-05 15:23:58 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-07 04:58:14 +0000 |
commit | f05f591ca5f2997d5650c54a03b098725404027f (patch) | |
tree | 0a08da3b6e5b55b518ef424d0eeaa349c6583c3c /main/cdrkit | |
parent | 561f7e51a6421b22a1ed7e40c559149d24cd6832 (diff) | |
download | aports-f05f591ca5f2997d5650c54a03b098725404027f.tar.bz2 aports-f05f591ca5f2997d5650c54a03b098725404027f.tar.xz |
main/cdrkit: modernise, mark no test suite
Diffstat (limited to 'main/cdrkit')
-rw-r--r-- | main/cdrkit/APKBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/main/cdrkit/APKBUILD b/main/cdrkit/APKBUILD index 33479cad51..9e66bc5235 100644 --- a/main/cdrkit/APKBUILD +++ b/main/cdrkit/APKBUILD @@ -5,44 +5,43 @@ pkgrel=2 pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" url="http://cdrkit.org/" arch="all" +options="!check" # No test suite. license="GPL-2.0" depends="file bzip2" makedepends="cmake libcap-dev bzip2-dev zlib-dev" subpackages="$pkgname-doc" source="http://dev.alpinelinux.org/archive/cdrkit/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" # disable rcmd, it is security risk and not implemented in musl sed -i include/xconfig.h.in -e "s/#define HAVE_RCMD 1/#undef HAVE_RCMD/g" + default_prepare } build() { - cd "$_builddir" + cd "$builddir" case "$CLIBC" in musl) export CFLAGS="$CFLAGS -D__THROW=''" ;; esac - make || return 1 + make } package() { - cd "$_builddir" - make PREFIX="$pkgdir/usr" install || return 1 + cd "$builddir" + make PREFIX="$pkgdir/usr" install cd "$pkgdir/usr/bin" - ln -s wodim cdrecord || return 1 - ln -s readom readcd || return 1 - ln -s genisoimage mkisofs || return 1 - ln -s genisoimage mkhybrid || return 1 - ln -s icedax cdda2wav || return 1 + ln -s wodim cdrecord + ln -s readom readcd + ln -s genisoimage mkisofs + ln -s genisoimage mkhybrid + ln -s icedax cdda2wav cd "$pkgdir/usr/share/man/man1" - ln -s wodim.1 cdrecord.1 || return 1 - ln -s readom.1 readcd.1 || return 1 - ln -s genisoimage.1 mkisofs.1 || return 1 - ln -s genisoimage.1 mkhybrid.1 || return 1 - ln -s icedax.1 cdda2wav.1 || return 1 + ln -s wodim.1 cdrecord.1 + ln -s readom.1 readcd.1 + ln -s genisoimage.1 mkisofs.1 + ln -s genisoimage.1 mkhybrid.1 + ln -s icedax.1 cdda2wav.1 } -md5sums="efe08e2f3ca478486037b053acd512e9 cdrkit-1.1.11.tar.gz" -sha256sums="d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da cdrkit-1.1.11.tar.gz" sha512sums="e5afcd2cb68d39aeff680a0d5b0a7877f94cf6de111b3cb7388261c665fbd3209ce98a20a01911875af7d6b832a156801b1fa46a4481f7c8ba60b22eac0a5b05 cdrkit-1.1.11.tar.gz" |