diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-12-10 16:33:30 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-12-10 16:33:30 +0100 |
commit | 7cda2c574f8b686f63981b6158651d2d8364e75e (patch) | |
tree | ec5446f41d5aeee8e8107c56736da323a740792e /testing/cdrdao/APKBUILD | |
parent | 9070b3ef749dcaa2c47f69548a0f0027dc7be85c (diff) | |
download | aports-7cda2c574f8b686f63981b6158651d2d8364e75e.tar.bz2 aports-7cda2c574f8b686f63981b6158651d2d8364e75e.tar.xz |
testing/cdrdao: new aport
Diffstat (limited to 'testing/cdrdao/APKBUILD')
-rw-r--r-- | testing/cdrdao/APKBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/cdrdao/APKBUILD b/testing/cdrdao/APKBUILD new file mode 100644 index 0000000000..1c357c5a2e --- /dev/null +++ b/testing/cdrdao/APKBUILD @@ -0,0 +1,59 @@ +# 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://downloads.sourceforge.net/cdrdao/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 + rm -f "$pkgdir"/usr/lib/*.la +} + +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" |