summaryrefslogtreecommitdiffstats
path: root/testing/scons
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-18 16:35:19 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-20 16:57:43 +0000
commitd27eb02bb389889156f171082179ecd3756814b4 (patch)
tree8b2a2bc39985407cb8ece69b454c7856bfdcfe7e /testing/scons
parent9c10e0edb1f798c799cf3629d28ba179343b68b0 (diff)
downloadaports-d27eb02bb389889156f171082179ecd3756814b4.tar.bz2
aports-d27eb02bb389889156f171082179ecd3756814b4.tar.xz
testing/scons: upgrade to 2.1.0
Diffstat (limited to 'testing/scons')
-rw-r--r--testing/scons/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/scons/APKBUILD b/testing/scons/APKBUILD
index ef188177b..5aa6abd18 100644
--- a/testing/scons/APKBUILD
+++ b/testing/scons/APKBUILD
@@ -1,22 +1,26 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=scons
-pkgver=2.0.1
+pkgver=2.1.0
pkgrel=1
pkgdesc="scons software construction system"
url="http://www.scons.org/"
+arch="noarch"
license="MIT"
depends="python"
makedepends="python-dev"
install=
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
-arch="noarch"
-
_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
package() {
cd "$_builddir"
- python setup.py install --root="$pkgdir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="beca648b894cdbf85383fffc79516d18 scons-2.0.1.tar.gz"
+md5sums="47daf989e303a045b76c11236df719df scons-2.1.0.tar.gz"