summaryrefslogtreecommitdiffstats
path: root/main/scons/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-24 07:57:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-24 07:58:28 +0000
commit77f29f5b03a9f44fba6f3e0854ec1ab36a8bde47 (patch)
treef46b1b6e6660c79914592a4945de6bccec551c75 /main/scons/APKBUILD
parenta8ce72414a2261d1095a37de32829860edcd2e8b (diff)
downloadaports-77f29f5b03a9f44fba6f3e0854ec1ab36a8bde47.tar.bz2
aports-77f29f5b03a9f44fba6f3e0854ec1ab36a8bde47.tar.xz
main/scons: moved from testing
needed by gpsd
Diffstat (limited to 'main/scons/APKBUILD')
-rw-r--r--main/scons/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/scons/APKBUILD b/main/scons/APKBUILD
new file mode 100644
index 000000000..5aa6abd18
--- /dev/null
+++ b/main/scons/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=scons
+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"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="47daf989e303a045b76c11236df719df scons-2.1.0.tar.gz"