mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
35 lines
867 B
Bash
35 lines
867 B
Bash
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
|
|
|
|
pkgname=mpg123-arm
|
|
_pkgname=mpg123
|
|
pkgver=1.13.2
|
|
pkgrel=1
|
|
pkgdesc="A console-based real-time MPEG-1/2/3 audio player (integer only)"
|
|
arch=('i686' 'x86_64' 'arm')
|
|
url="http://www.mpg123.org/"
|
|
license=('GPL2' 'LGPL2')
|
|
|
|
makedepends=('sdl')
|
|
optdepends=('alsa-lib: For additional audio support'
|
|
'sdl: For additional audio support')
|
|
|
|
provides=('mpg321' "mpg123=$pkgver")
|
|
conflicts=('mpg321' 'mpg123')
|
|
replaces=('mpg321')
|
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/mpg123/mpg123-$pkgver.tar.bz2")
|
|
sha256sums=('c4677653adb656e0f15a7b6dafa5c166eeeb1dc6c20b9a9a6d02efa83afc0d01')
|
|
|
|
|
|
options=('libtool')
|
|
build() {
|
|
cd "$srcdir"/$_pkgname-$pkgver
|
|
|
|
./configure --with-cpu=arm_nofpu --prefix=/usr --with-audio="alsa sdl"
|
|
make
|
|
}
|
|
package() {
|
|
cd "$srcdir"/$_pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|