aboutsummaryrefslogtreecommitdiffstats
path: root/main/llvm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-15 12:29:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-15 12:29:06 +0000
commit18f767a1f908924e194eb7516444c827b62c24cd (patch)
treed55290ac06ee68b52acc589acadd6a47c267c2ea /main/llvm/APKBUILD
parenta2b658794f6245f323e1198b8bd076a6479dfad1 (diff)
downloadaports-18f767a1f908924e194eb7516444c827b62c24cd.tar.bz2
aports-18f767a1f908924e194eb7516444c827b62c24cd.tar.xz
main/llvm: upgrade to 3.0
Diffstat (limited to 'main/llvm/APKBUILD')
-rw-r--r--main/llvm/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD
index d35f452902..aedb01aec8 100644
--- a/main/llvm/APKBUILD
+++ b/main/llvm/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=llvm
-pkgver=2.9
-pkgrel=5
+pkgver=3.0
+pkgrel=0
pkgdesc="low level virtual machine compiler system"
arch="x86 x86_64"
url="http://llvm.org/"
@@ -12,9 +12,9 @@ depends_dev="perl"
makedepends="$depends_dev groff libffi-dev"
install=
subpackages="clang $pkgname-dev $pkgname-doc $pkgname-libs"
-source="http://llvm.org/releases/$pkgver/llvm-$pkgver.tgz
- http://llvm.org/releases/$pkgver/clang-$pkgver.tgz
- clang-2.9-alpine-linux.patch
+source="http://llvm.org/releases/$pkgver/llvm-$pkgver.tar.gz
+ http://llvm.org/releases/$pkgver/clang-$pkgver.tar.gz
+ clang-3.0-alpine-linux.patch
"
_builddir="$srcdir"/build
@@ -24,11 +24,12 @@ prepare() {
msg "Preparing CLANG sources..."
- mv "$srcdir"/clang-$pkgver "$srcdir"/$pkgname-$pkgver/tools/clang
+ mv "$srcdir"/clang-$pkgver.src \
+ "$srcdir"/$pkgname-$pkgver.src/tools/clang || return 1
msg "Patching LLVM core..."
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver.src || return 1
for i in $source; do
case $i in
@@ -42,7 +43,7 @@ prepare() {
build() {
cd "$_builddir"
- ../$pkgname-$pkgver/configure \
+ ../$pkgname-$pkgver.src/configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -73,7 +74,7 @@ clang() {
pkgdesc="A C language family front-end for LLVM"
mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/bin/clang* "$pkgdir"/usr/bin/tblgen \
+ mv "$pkgdir"/usr/bin/clang* "$pkgdir"/usr/bin/c-index-test \
"$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/usr/lib/clang \
"$pkgdir"/usr/lib/libclang.so \
@@ -87,6 +88,6 @@ libs() {
mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/
}
-md5sums="793138412d2af2c7c7f54615f8943771 llvm-2.9.tgz
-634de18d04b7a4ded19ec4c17d23cfca clang-2.9.tgz
-6ca9d6b9706ab4e04d976c25e72952dd clang-2.9-alpine-linux.patch"
+md5sums="a8e5f5f1c1adebae7b4a654c376a6005 llvm-3.0.tar.gz
+43350706ae6cf05d0068885792ea0591 clang-3.0.tar.gz
+30bdaa52a057a11722093463c29bfda0 clang-3.0-alpine-linux.patch"