diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 14:05:40 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 14:05:40 +0100 |
commit | 8608cecbe8be70112bdff16d957f52cd22f37731 (patch) | |
tree | fad1fc8b4be7f793080b197c90bb37ef137409e3 /repo/cdrkit/cdrkit.xibuild | |
parent | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (diff) |
added cdrkit
Diffstat (limited to 'repo/cdrkit/cdrkit.xibuild')
-rw-r--r-- | repo/cdrkit/cdrkit.xibuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/repo/cdrkit/cdrkit.xibuild b/repo/cdrkit/cdrkit.xibuild new file mode 100644 index 0000000..ac430d8 --- /dev/null +++ b/repo/cdrkit/cdrkit.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="cdrkit" +DESC="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" + +MAKEDEPS="make " +DEPS="bzip2 file libcap musl zlib " + +PKG_VER=1.1.11 +SOURCE="https://dev.alpinelinux.org/archive/cdrkit/cdrkit-$PKG_VER.tar.gz" +ADDITIONAL="gcc10.patch " + +prepare () { + sed -i include/xconfig.h.in -e "s/#define HAVE_RCMD 1/#undef HAVE_RCMD/g" + apply_patches +} + +build () { + export CFLAGS="$CFLAGS -D__THROW=''" + make +} + +package () { + make PREFIX="$PKG_DEST/usr" install + cd "$PKG_DEST/usr/bin" + ln -s wodim cdrecord + ln -s readom readcd + ln -s genisoimage mkisofs + ln -s genisoimage mkhybrid + ln -s icedax cdda2wav + cd "$PKG_DEST/usr/share/man/man1" + 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 +} |