void-packages/srcpkgs/pypy/template

22 lines
616 B
Text
Raw Normal View History

2013-05-10 11:20:18 +00:00
# Template file for 'pypy'
pkgname=pypy
version=2.0
revision=1
makedepends="python libffi-devel"
short_desc="PyPy is a fast, compliant alternative implementation of the Python language"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://pypy.org/"
license="MIT"
distfiles="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.tar.bz2"
checksum=d92dfd418beac915d3efc28f8a2090f3c13a89ec653419deff3d7112c5c111f3
wrksrc="$pkgname-$version-src"
do_build() {
python rpython/bin/rpython -Ojit pypy/goal/targetpypystandalone.py
}
do_install() {
mkdir -p ${DESTDIR}/usr/bin
cp -f pypy-c ${DESTDIR}/usr/bin
}