summaryrefslogtreecommitdiff
path: root/repo/cdparanoia/cdparanoia.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/cdparanoia/cdparanoia.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/cdparanoia/cdparanoia.xibuild')
-rw-r--r--repo/cdparanoia/cdparanoia.xibuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/repo/cdparanoia/cdparanoia.xibuild b/repo/cdparanoia/cdparanoia.xibuild
new file mode 100644
index 0000000..5ff279f
--- /dev/null
+++ b/repo/cdparanoia/cdparanoia.xibuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+NAME="cdparanoia"
+DESC="An audio CD extraction application"
+
+MAKEDEPS="libtool autoconf automake linux-headers"
+
+PKG_VER=10.2
+SOURCE="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$PKG_VER.src.tgz"
+
+ADDITIONAL="
+fix-includes.patch
+gcc.patch
+no-cuserid.patch
+"
+
+
+
+prepare() {
+ apply_patches
+
+ mv configure.guess config.guess
+ mv configure.sub config.sub
+ sed -i -e '/configure.\(guess\|sub\)/d' configure.in
+ aclocal && autoconf
+ libtoolize
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make -j1
+}
+
+package() {
+ make prefix="$PKG_DEST"/usr MANDIR="$PKG_DEST"/usr/share/man install
+}
+