aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmp3splt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmp3splt/APKBUILD')
-rw-r--r--community/libmp3splt/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/libmp3splt/APKBUILD b/community/libmp3splt/APKBUILD
new file mode 100644
index 0000000000..5332362ffa
--- /dev/null
+++ b/community/libmp3splt/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libmp3splt
+pkgver=0.9.2
+pkgrel=0
+pkgdesc="Library to split mp3 and ogg files without decoding"
+url="http://mp3splt.sourceforge.net/"
+arch="all"
+license="GPL-2.0"
+depends_dev="pcre-dev libogg-dev libmad-dev libvorbis-dev libid3tag-dev libtool"
+makedepends="$depends_dev"
+subpackages="$pkgname-dev"
+source="https://prdownloads.sourceforge.net/mp3splt/libmp3splt-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-ogg \
+ --enable-mp3
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e5c98e8b173bc86302ccee4ca5eb0c8a8d93f225357eb7b14dea8d0700ed62ed6316506c182f6b295130f7924ff0b38e865d5e49fa9cd7882c648360d68872ed libmp3splt-0.9.2.tar.gz"