python: use libffi, build shared lib, bumprev.
--HG-- extra : convert_revision : 46cff1a755b56fe0db9905874879ea11ddc67bda
This commit is contained in:
parent
95d2cd5caf
commit
3557bdd7bb
2 changed files with 6 additions and 2 deletions
|
@ -7,10 +7,11 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
Add_dependency run python
|
Add_dependency run python
|
||||||
|
|
||||||
|
revision=1
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
|
||||||
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
# Template build file for 'python'.
|
# Template build file for 'python'.
|
||||||
pkgname=python
|
pkgname=python
|
||||||
version=2.6.4
|
version=2.6.4
|
||||||
|
revision=1
|
||||||
wrksrc="Python-$version"
|
wrksrc="Python-$version"
|
||||||
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
||||||
configure_args="--with-threads --enable-ipv6 --with-signal-module"
|
configure_args="--with-threads --enable-ipv6 --with-signal-module
|
||||||
|
--enable-shared --with-system-ffi"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Interpreted, interactive, object-oriented programming language"
|
short_desc="Interpreted, interactive, object-oriented programming language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -22,6 +24,7 @@ long_desc="
|
||||||
|
|
||||||
subpackages="devel"
|
subpackages="devel"
|
||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
|
Add_dependency full libffi
|
||||||
Add_dependency full zlib
|
Add_dependency full zlib
|
||||||
Add_dependency full readline
|
Add_dependency full readline
|
||||||
Add_dependency full bzip2
|
Add_dependency full bzip2
|
||||||
|
|
Loading…
Reference in a new issue