diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/scons/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/scons/APKBUILD b/main/scons/APKBUILD new file mode 100644 index 0000000000..5aa6abd188 --- /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" |