summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/cdrkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/cdrkit/PKGBUILD')
-rw-r--r--abs/core-testing/cdrkit/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/core-testing/cdrkit/PKGBUILD b/abs/core-testing/cdrkit/PKGBUILD
new file mode 100644
index 0000000..1f8bfa8
--- /dev/null
+++ b/abs/core-testing/cdrkit/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 5822 2008-07-21 11:34:04Z alexanderf $
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=cdrkit
+pkgver=1.1.8
+pkgrel=1
+pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
+arch=('i686' 'x86_64')
+url="http://cdrkit.org/"
+license=('GPL2')
+depends=('libcap' 'file' 'bzip2')
+makedepends=('cmake')
+provides=('cdrtools')
+conflicts=('cdrtools')
+source=(http://cdrkit.org/releases/cdrkit-$pkgver.tar.gz)
+md5sums=('97a9ea4e1bf59beb12aca649958d8c6c')
+
+build() {
+ cd "$srcdir/cdrkit-$pkgver"
+
+ make || return 1
+ make PREFIX="$pkgdir/usr" install || return 1
+
+ # Make symlinks for cdrtools compatibility
+ 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
+
+ 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
+}