updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / stackless-python2 / PKGBUILD
blob228d3a1fbecfa1a595426e66a19fac1f0ab971ba
1 # Maintainer: Jerome Rose <jrose.pub at gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgname=stackless-python2
6 pkgver=2.7.2
7 pkgrel=2
8 pkgdesc="Python is a high-level scripting language. Stackless is an experimental implementation that supports continuations, generators, microthreads, and coroutines."
9 arch=('i686' 'x86_64')
10 url="http://www.stackless.com"
11 depends=('bzip2' 'expat' 'gdbm' 'libffi' 'openssl' 'zlib')
12 optdepents=('tk: for tkinter')
13 confilcts=('python2')
14 provides=('python2=2.7.2')
15 license=('python')
16 source="http://www.stackless.com/binaries/stackless-${pkgver//./}-export.tar.bz2"
17 md5sums=('23673dd5799e1013077705dc68872439')
19 build() {
20         cd "$srcdir/stackless-${pkgver//./}-export"
21         ./configure \
22                 --prefix=/usr \
23                 --with-threads \
24                 --enable-shared \
25                 --enable-stacklessfewerregisters
27         make
30 package() {
31         cd "$srcdir/stackless-${pkgver//./}-export"
32         make DESTDIR="$pkgdir/" install
33         cd "$pkgdir/usr/bin"
34         mv python python2