[arch-multilib] package lib32-alsa-oss
Laurent Carlier
lordheavym at gmail.com
Fri Aug 27 18:38:07 EDT 2010
Le samedi 28 août 2010 00:21:16, vous avez écrit :
> This package is useful if you want to use the aoss utility:
>
> [lordh at archMain lib32-also-oss]$ aoss enemy-territory
> ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be
> preloaded: ignored.
> ET 2.60b linux-i386 May 8 2006
>
>
> with the package installed:
> [lordh at archMain lib32-also-oss]$ aoss enemy-territory
> ET 2.60b linux-i386 May 8 2006
And the PKGBUILD
-------------- next part --------------
# $Id: PKGBUILD 13734 2008-09-28 09:01:29Z tpowa $
# Maintainer: judd <jvinet at zeroflux.org>
_pkgbasename=alsa-oss
pkgname=lib32-${_pkgbasename}
pkgver=1.0.17
pkgrel=1
pkgdesc="OSS compatibility library (32 bit)"
arch=(x86_64)
license=('GPL')
url="http://www.alsa-project.org"
options=(!libtool)
depends=('lib32-glibc' 'lib32-alsa-lib' 'alsa-oss')
source=(ftp://ftp.alsa-project.org/pub/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
md5sums=('1b1850c2fc91476a73d50f537cbd402f')
build() {
cd $srcdir/${_pkgbasename}-$pkgver
export CC='gcc -m32'
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd $srcdir/${_pkgbasename}-$pkgver
make DESTDIR="$pkgdir" install
# Clean up lib32 package
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
More information about the arch-multilib
mailing list