1 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
5 pkgdesc="A high-level scripting language"
8 url="http://www.python.org"
9 depends=('db4.5' 'bzip2' 'gdbm' 'openssl' 'zlib' 'gcc-libs' 'readline')
11 source=(http://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.bz2
13 options=('!makeflags')
14 md5sums=('5d45979c5f30fb2dd5f067c6b06b88e4')
20 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$startdir/src/Python-$pkgver
21 cd $startdir/src/Python-$pkgver
22 SVNVERSION="echo exported" ./configure --prefix=/usr --enable-shared --with-threads --enable-unicode
24 make DESTDIR=$startdir/pkg altinstall
25 #rm $startdir/pkg/usr/bin/python
26 #rm $startdir/pkg/usr/bin/python-config
28 # Rename all the scripts
29 pushd $startdir/pkg/usr/bin
32 mv smtpd.py smtpd2.5.py
36 install -D -m644 LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
37 #mv $startdir/pkg/usr/share/man/man1/python.1 $startdir/pkg/usr/share/man/man1/python25.1