mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
36 lines
942 B
Plaintext
36 lines
942 B
Plaintext
DESCRIPTION="python - An interpreted, interactive, object-oriented programming language"
|
|
HOMEPAGE="http://www.python.org"
|
|
SRC_URI="http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2"
|
|
CHECKSUM_MD5="cf4e6881bb84a7ce6089e4a307f71f14"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND="sys-libs/readline >= 6.0"
|
|
BUILD {
|
|
cd Python-2.6.6/Modules/_ctypes/libffi
|
|
libtoolize --force --copy --install
|
|
cd ../../..
|
|
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
./configure --prefix=/boot/common --enable-shared LDFLAGS=-L/boot/common/lib CFLAGS=-I/boot/develop/headers/3rdparty
|
|
make
|
|
}
|
|
|
|
INSTALL {
|
|
cd Python-2.6.6
|
|
make install
|
|
}
|
|
|
|
TEST {
|
|
cd Python-2.6.6
|
|
cd Lib/test
|
|
rm test_asynchat.py # this one stalls, so skip it for now
|
|
rm test_multiprocessing.py # this one stalls, so skip it for now
|
|
|
|
python regrtest.py
|
|
}
|
|
|
|
LICENSE="Python"
|
|
COPYRIGHT="1990-2010, Python Software Foundation"
|