mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:47:41 +08:00
28 lines
872 B
Bash
28 lines
872 B
Bash
#
|
|
# 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=libshout
|
|
pkgver=2.2.2
|
|
pkgrel=4
|
|
pkgdesc="Library for accessing a shoutcast/icecast server"
|
|
arch=('i686' 'x86_64')
|
|
depends=('libvorbis' 'libtheora' 'speex')
|
|
url="http://www.icecast.org/"
|
|
options=('!libtool' 'force')
|
|
license=('LGPL')
|
|
source=(http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('4f75fc9901c724b712c371c9a1e782d3')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
|
|
make LDFLAGS+=-lspeex || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|