2009-10-08 19:22:50 +00: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 13:53:02 +00:00
|
|
|
revision=1
|
|
|
|
|
2010-01-24 12:39:01 +00: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 13:53:02 +00:00
|
|
|
Add_dependency run ncurses-devel
|
2010-01-24 12:39:01 +00:00
|
|
|
Add_dependency run sqlite-devel
|
|
|
|
Add_dependency run python
|
2009-11-17 02:40:46 +00:00
|
|
|
|
2009-10-08 19:22:50 +00:00
|
|
|
do_install()
|
|
|
|
{
|
2010-11-17 20:07:13 +00:00
|
|
|
install -d ${DESTDIR}/usr/{lib,bin}
|
|
|
|
install -d ${DESTDIR}/usr/include/python2.7
|
|
|
|
|
2009-10-08 19:22:50 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/python*-config ${DESTDIR}/usr/bin
|
2010-11-17 20:07:13 +00: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 19:22:50 +00:00
|
|
|
}
|