aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cdrdao/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/cdrdao/APKBUILD')
-rw-r--r--unmaintained/cdrdao/APKBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/unmaintained/cdrdao/APKBUILD b/unmaintained/cdrdao/APKBUILD
new file mode 100644
index 0000000000..9823e9e5fe
--- /dev/null
+++ b/unmaintained/cdrdao/APKBUILD
@@ -0,0 +1,58 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=cdrdao
+pkgver=1.2.3
+pkgrel=0
+pkgdesc="Records audio/data CD-Rs in disk-at-once (DAO) mode"
+url="http://cdrdao.sourceforge.net/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libmad-dev lame-dev libvorbis-dev libao-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://freefr.dl.sourceforge.net/project/cdrdao/cdrdao/$pkgver/cdrdao-$pkgver.tar.bz2
+ cdrdao-1.2.3-stat.patch"
+
+_builddir="$srcdir"/cdrdao-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-xdao \
+ --with-lame \
+ --with-ogg-support \
+ --with-mp3-support \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2
+0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch"
+sha256sums="8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e cdrdao-1.2.3.tar.bz2
+ca89b7c56a376d5a9574c5757f0d372236a895334f81867ff5e1703806565bbc cdrdao-1.2.3-stat.patch"
+sha512sums="36b14180acf476de062f5f31e2b9dece39e3cc7a84552e80a6714931fa35d6090ec90ddfcdbd2651d690be8ce3fc78d483aa13856c3c311bcc2f571f0040adf6 cdrdao-1.2.3.tar.bz2
+83d6a76f9b6c3e3e1522fe1fb64e50296f42c51d6f0b505d68adc3b7a85460d667ecf3f0998ba2ea5444dd5cd398e81f591ef9ca3bb4b5b167ce6e59234a5094 cdrdao-1.2.3-stat.patch"