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-02-27 14:53:02 +01:00
|
|
|
revision=1
|
|
|
|
|
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()
|
|
|
|
{
|
2010-11-17 21:07:13 +01:00
|
|
|
install -d ${DESTDIR}/usr/{lib,bin}
|
|
|
|
install -d ${DESTDIR}/usr/include/python2.7
|
|
|
|
|
2009-10-08 21:22:50 +02:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
2010-11-17 21:07:13 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
|
|
|
|
|
|
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
|
|
|
}
|