mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
Updating lib32-llvm to 3.2.
This commit is contained in:
parent
e0270f8ec4
commit
89eab69cf4
@ -4,22 +4,22 @@
|
||||
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=('lib32-llvm')
|
||||
pkgver=3.1
|
||||
pkgrel=3
|
||||
pkgver=3.2
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
url="http://llvm.org/"
|
||||
license=('custom:University of Illinois/NCSA Open Source License')
|
||||
makedepends=('lib32-libffi' 'python2' 'gcc-multilib' 'groff')
|
||||
source=("http://llvm.org/releases/${pkgver}/llvm-${pkgver}.src.tar.gz")
|
||||
md5sums=('16eaa7679f84113f65b12760fdfe4ee1')
|
||||
md5sums=('71610289bbc819e3e15fdd562809a2d7')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/llvm-${pkgver}.src"
|
||||
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
cd "${srcdir}/llvm-${pkgver}.src"
|
||||
|
||||
# Fix installation directories, ./configure doesn't seem to set them right
|
||||
sed -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \
|
||||
-e 's:\$(PROJ_prefix)/lib:$(PROJ_prefix)/lib32/llvm:' \
|
||||
@ -93,9 +93,9 @@ depends=('perl' 'lib32-libffi' 'llvm')
|
||||
|
||||
install -D -m644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
rm -r "${pkgdir}"/usr/{bin,lib,include,share/{doc,man}}
|
||||
rm -rf "${pkgdir}/usr"/{bin,lib,include,share/{doc,man}}
|
||||
|
||||
mkdir "${pkgdir}"/usr/bin
|
||||
mkdir "${pkgdir}/usr/bin"
|
||||
mv "${pkgdir}/usr/lib32/llvm-config" "${pkgdir}/usr/bin/llvm-config32"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user