aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cuetools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cuetools/APKBUILD')
-rw-r--r--testing/cuetools/APKBUILD63
1 files changed, 63 insertions, 0 deletions
diff --git a/testing/cuetools/APKBUILD b/testing/cuetools/APKBUILD
new file mode 100644
index 0000000000..906dc4e15c
--- /dev/null
+++ b/testing/cuetools/APKBUILD
@@ -0,0 +1,63 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=cuetools
+pkgver=1.4.0
+pkgrel=0
+pkgdesc="Cue and toc file parsers and utilities"
+url="https://github.com/svend/cuetools"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev automake autoconf libtool byacc flex"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/svend/cuetools/archive/$pkgver.tar.gz
+ fix_build_with_automake-1.12.patch
+ cuetag-fix_spaces.patch"
+
+_builddir=$srcdir/$pkgname-$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
+}
+
+build() {
+ cd "$_builddir"
+ aclocal || return 1
+ autoheader || return 1
+ automake --force-missing --add-missing || return 1
+ autoconf || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="4492dae2b3f9e077f6455a1f1cddef3b cuetools-1.4.0.tar.gz
+67a3b32711d1a1f508be6ed0f1bdadf3 fix_build_with_automake-1.12.patch
+60f4aba26e529e48dbedd2adef917117 cuetag-fix_spaces.patch"
+sha256sums="5dc86e9736929757b338827efa0ecae1b2fcee2273debc718511749a4178ddf6 cuetools-1.4.0.tar.gz
+12019dc267a7a0f32197928af6b2d50fd23cb5eb34ac8acc2f552bc0f8eef651 fix_build_with_automake-1.12.patch
+93768b1e8f458cf07bf643bd8d330c3907a6a73db2cb1f55a0e99da67776ff26 cuetag-fix_spaces.patch"
+sha512sums="338909d22e3cc65ddd8e411ca2dbcf198606c5f34bc67867dcf0a54d48bf0d1339f2a26a18aeeeca968ce1452d0ea0c19a3c3609a2593e1d8b6bb432a6113a75 cuetools-1.4.0.tar.gz
+71f397f7f514832e9109a0762631f7ea0b7ada95a6ea44eb0ae4c2d035efa672d0a29e3b3948b6f31dd35c115857b874f82e5a11e63248a048b83566d489148c fix_build_with_automake-1.12.patch
+301b1fcb9a5eb1e576db29de9421af5d1500a4fe88b16cf7376ee3ca1839ea267a2c6e0695255312e8e4ab5f18a6db1af75d2045704a93c6dd33e3eaac1b83db cuetag-fix_spaces.patch"