summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-17 12:51:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-17 12:51:33 +0000
commitf5e383866b28c1b50cff4c4c053e14904c939d81 (patch)
tree70a47e5cadf47dbe8ef7060c8aedecbc1cc3700c /testing
parent53b705338468d47fedf11e28f2199a02e1ed9655 (diff)
downloadaports-f5e383866b28c1b50cff4c4c053e14904c939d81.tar.bz2
aports-f5e383866b28c1b50cff4c4c053e14904c939d81.tar.xz
testing/libmp3splt: new aport
library to split mp3 and ogg files without decoding http://mp3splt.sourceforge.net/ ref #769
Diffstat (limited to 'testing')
-rw-r--r--testing/libmp3splt/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/libmp3splt/APKBUILD b/testing/libmp3splt/APKBUILD
new file mode 100644
index 000000000..d53788276
--- /dev/null
+++ b/testing/libmp3splt/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libmp3splt
+pkgver=0.7
+pkgrel=0
+pkgdesc="library to split mp3 and ogg files without decoding"
+url="http://mp3splt.sourceforge.net/"
+arch="all"
+license="GPLv2"
+depends=""
+depends_dev="pcre-dev libogg-dev libmad-dev libvorbis-dev libid3tag-dev"
+makedepends="$depends_dev libtool"
+install=""
+subpackages="$pkgname-dev"
+source="http://prdownloads.sourceforge.net/mp3splt/libmp3splt-$pkgver.tar.gz"
+
+_builddir="$srcdir"/libmp3splt-$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"
+ ./configure --prefix=/usr \
+ --enable-ogg \
+ --enable-mp3 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/libmp3splt/*.la
+}
+
+md5sums="dadb166361e2a28955032a1b9f10ed38 libmp3splt-0.7.tar.gz"