mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
850fefed49
This has been scripted, some might have been missed some PKGBUILDS might be broken, so please chock when building.
39 lines
979 B
Bash
39 lines
979 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=jack
|
|
pkgname=lib32-$_pkgbasename
|
|
_longname=jack-audio-connection-kit
|
|
pkgver=0.121.3
|
|
pkgrel=1
|
|
pkgdesc="A low-latency audio server (32-bit)"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL')
|
|
depends=('lib32-glibc' $_pkgbasename=$pkgver)
|
|
makedepends=(gcc-multilib)
|
|
url="http://jackaudio.org/"
|
|
options=('!libtool')
|
|
source=(http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz)
|
|
md5sums=('35f470f7422c37b33eb965033f7a42e8')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_longname}-${pkgver}
|
|
|
|
export CC="gcc -m32"
|
|
export CXX="g++ -m32"
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32
|
|
make -C libjack
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_longname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install-pkgconfigDATA
|
|
make -C libjack DESTDIR=${pkgdir} install
|
|
}
|
|
|