diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2012-03-17 17:49:40 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2012-03-17 17:49:40 +0000 |
commit | f12d1fd4f67201554b6ae550d8800e6b979ef6f8 (patch) | |
tree | 5baa0408e5e3e01493dba9ee5731a5ae3d287ac7 /main/libmp3splt | |
parent | a6655ac9b6cad23ea5f7556a2d60b7bbaa2e1ce5 (diff) | |
download | aports-f12d1fd4f67201554b6ae550d8800e6b979ef6f8.tar.bz2 aports-f12d1fd4f67201554b6ae550d8800e6b979ef6f8.tar.xz |
main/{mp3splt,libmp3splt,mp3splt-gtk}: moved from testing
fixes #769
Diffstat (limited to 'main/libmp3splt')
-rw-r--r-- | main/libmp3splt/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/libmp3splt/APKBUILD b/main/libmp3splt/APKBUILD new file mode 100644 index 000000000..a6ac8c4cc --- /dev/null +++ b/main/libmp3splt/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libmp3splt +pkgver=0.7 +pkgrel=2 +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 libtool" +makedepends="$depends_dev" +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" |