mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 04:47:15 +08:00
Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing
This commit is contained in:
commit
73a8ab3285
37
mpg123/PKGBUILD
Normal file
37
mpg123/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#
|
||||||
|
# Platform Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=mpg123
|
||||||
|
pkgver=1.12.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://sourceforge.net/projects/mpg123"
|
||||||
|
license=('GPL2' 'LGPL2.1')
|
||||||
|
depends=('glibc' 'libtool' 'alsa-lib')
|
||||||
|
makedepends=('esound' 'sdl')
|
||||||
|
optdepends=('esound: for additional audio support' 'sdl: for additional audio support')
|
||||||
|
conflicts=('mpg321')
|
||||||
|
provides=('mpg321')
|
||||||
|
replaces=('mpg321')
|
||||||
|
options=('libtool')
|
||||||
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
||||||
|
md5sums=('01fa64533cade452c2b22a3ce14a2fcd')
|
||||||
|
sha1sums=('476cb47a9b6570684b5af536beedf2026522e5f8')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
./configure --prefix=/usr --with-audio="alsa esd sdl"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user