28 lines
668 B
Plaintext
28 lines
668 B
Plaintext
# 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
|
|
}
|
|
}
|