mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 02:27:16 +08:00
added lib32-speex
This commit is contained in:
parent
23035bf118
commit
3b05b02d84
35
lib32-speex/PKGBUILD
Normal file
35
lib32-speex/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Lib32 Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
_pkgbasename=speex
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.2rc1
|
||||
pkgrel=1
|
||||
pkgdesc="A free codec for free speech (32-bit)"
|
||||
arch=(x86_64)
|
||||
license=('BSD')
|
||||
depends=('lib32-libogg' $_pkgbasename)
|
||||
makedepends=(gcc-multilib)
|
||||
options=('!libtool')
|
||||
source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
|
||||
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
|
||||
url="http://www.speex.org/"
|
||||
|
||||
build() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
|
||||
export CC="gcc -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/speex-$pkgver
|
||||
make DESTDIR=$pkgdir install
|
||||
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
||||
}
|
Loading…
Reference in New Issue
Block a user