blob: 65308b0a57c80184e09f09873466b528eeea832f (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpg123
pkgver=1.23.3
pkgrel=0
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
url="http://www.mpg123.org/"
arch="all"
license="GPL2 LGPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="libtool alsa-lib-dev linux-headers"
source="http://www.mpg123.org/download/$pkgname-$pkgver.tar.bz2"
options="libtool"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-dependency-tracking \
--with-ipv6 \
--with-pic \
--with-optimization=0 \
--with-cpu=i386_fpu \
--with-audio="alsa oss" \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="84e838650c4c593f4e66d1256e0468db mpg123-1.23.3.tar.bz2"
sha256sums="5c431da7e7446fae586c9207772dc0038ce2bfe75f0274a7933d1b4a7d84e6c6 mpg123-1.23.3.tar.bz2"
sha512sums="a5ebfb36223a3966386bc8e5769b8543861872d20f9de037d07857e857000f20e198e0b1db04bdc56b18b19d5b4027d8261a104af0216d6ea45274b21a18dda4 mpg123-1.23.3.tar.bz2"
|