blob: dc7ab56900ecb7af9948d9066592d6555432e240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mp3splt
pkgver=2.6.1a
pkgrel=0
pkgdesc="A command-line, AlbumWrap and mp3wrap file exctractor"
url="http://mp3splt.sourceforge.net/"
arch="all"
license="GPL2+"
depends=""
makedepends="libmp3splt-dev"
install=""
subpackages="$pkgname-doc"
source="http://prdownloads.sourceforge.net/mp3splt/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-mp3splt-includes=/usr/include/libmp3splt \
--enable-oggsplt_symlink \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="05677ad71d4988ee1eb4b8e236bd8212 mp3splt-2.6.1a.tar.gz"
sha256sums="9cd24b7483bbca7bf4a1c306fbf2afc2bb111defd0d88e9d87f642c1b519bb50 mp3splt-2.6.1a.tar.gz"
sha512sums="5c0f6a56e09c0b33f83360bc4ea5d4c9398fa6ec9bc39e7e9ab34b0ff19e46ddacbbc69ff51953ee399f1a172f2d634c57c256abdfe51def593e5f981490cc17 mp3splt-2.6.1a.tar.gz"
|