New package: pypy-2.0.

This commit is contained in:
pancake 2013-05-10 13:20:18 +02:00
parent 087a36412c
commit ac73dec35e
1 changed files with 27 additions and 0 deletions

27
srcpkgs/pypy/template Normal file
View File

@ -0,0 +1,27 @@
# 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
}
pypy_package() {
pkg_install() {
vmove usr
}
}