2009-10-08 21:22:50 +02:00
|
|
|
# Template file for 'python-devel'.
|
|
|
|
#
|
|
|
|
short_desc="Python development files"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
|
2011-09-19 11:31:53 +02:00
|
|
|
revision=2
|
2011-09-19 10:10:37 +02:00
|
|
|
|
2010-01-24 13:39:01 +01:00
|
|
|
Add_dependency run libffi-devel
|
|
|
|
Add_dependency run zlib-devel
|
|
|
|
Add_dependency run readline-devel
|
|
|
|
Add_dependency run bzip2-devel
|
|
|
|
Add_dependency run gdbm-devel
|
|
|
|
Add_dependency run openssl-devel
|
|
|
|
Add_dependency run expat-devel
|
|
|
|
Add_dependency run db-devel
|
2011-02-27 14:53:02 +01:00
|
|
|
Add_dependency run ncurses-devel
|
2010-01-24 13:39:01 +01:00
|
|
|
Add_dependency run sqlite-devel
|
|
|
|
Add_dependency run python
|
2009-11-17 03:40:46 +01:00
|
|
|
|
2009-10-08 21:22:50 +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
|
|
|
}
|