mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
36 lines
1022 B
Bash
36 lines
1022 B
Bash
# 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=alsa-lib
|
|
pkgname=lib32-${_pkgbasename}
|
|
pkgver=1.0.26
|
|
pkgrel=1
|
|
pkgdesc="An alternative implementation of Linux sound support (32 bit)"
|
|
arch=('x86_64')
|
|
url="http://www.alsa-project.org"
|
|
makedepends=('gcc-multilib')
|
|
depends=('lib32-glibc' 'alsa-lib')
|
|
license=('GPL')
|
|
options=(!libtool)
|
|
#source=(ftp://ftp.alsa-project.org/pub/lib/${_pkgbasename}-$pkgver.tar.bz2)
|
|
source=(http://alsa.cybermirror.org/lib/alsa-lib-$pkgver.tar.bz2)
|
|
md5sums=('2dfa35d28471d721e592b616beedf965')
|
|
|
|
build() {
|
|
cd $srcdir/${_pkgbasename}-$pkgver
|
|
export CC='gcc -m32'
|
|
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
|
|
./configure --prefix=/usr --libdir=/usr/lib32 --disable-python
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${_pkgbasename}-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# Clean up lib32 package
|
|
rm -rf "${pkgdir}"/usr/{bin,include,share}
|
|
}
|