mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
42 lines
958 B
Plaintext
42 lines
958 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mpg123
|
|
pkgver=1.25.10
|
|
pkgrel=0
|
|
pkgdesc="Console-based MPEG Audio Player for Layers 1, 2 and 3"
|
|
url="http://www.mpg123.org"
|
|
arch="all"
|
|
license="GPL-2.0 LGPL-2.0"
|
|
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"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="a33666ae4aca7e7c1a93a6414d8c525ec19044c54f712d578180147d88e63033f7af2370b9ad22960cc3a0b454f15967b7a831cccc97e034c8855f70cdf1ab09 mpg123-1.25.10.tar.bz2"
|