2009-10-08 21:22:50 +02:00
|
|
|
# Template file for 'python-devel'.
|
|
|
|
#
|
2012-05-23 18:26:56 +02:00
|
|
|
depends="libffi-devel zlib-devel readline-devel bzip2-devel gdbm-devel openssl-devel expat-devel db-devel ncurses-devel sqlite-devel python>=2.7.3"
|
2009-10-08 21:22:50 +02:00
|
|
|
short_desc="Python development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
2009-11-17 03:40:46 +01:00
|
|
|
|
2012-04-15 09:21:34 +02:00
|
|
|
do_install() {
|
2011-09-19 11:31:53 +02:00
|
|
|
vmkdir usr/include/python2.7
|
2011-09-19 10:10:37 +02:00
|
|
|
vmove "usr/bin/python*-config" usr/bin
|
|
|
|
vmove usr/lib/pkgconfig usr/lib
|
2011-09-19 11:31:53 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/include/python2.7/* \
|
|
|
|
${DESTDIR}/usr/include/python2.7
|
|
|
|
mv ${DESTDIR}/usr/include/python2.7/pyconfig.h \
|
|
|
|
${SRCPKGDESTDIR}/usr/include/python2.7
|
2009-10-08 21:22:50 +02:00
|
|
|
}
|