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."
|
|
|
|
|
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
|
2012-04-15 07:21:34 +00:00
|
|
|
Add_dependency run python ">=${version}"
|
2009-11-17 02:40:46 +00:00
|
|
|
|
2012-04-15 07:21:34 +00:00
|
|
|
do_install() {
|
2011-09-19 09:31:53 +00:00
|
|
|
vmkdir usr/include/python2.7
|
2011-09-19 08:10:37 +00:00
|
|
|
vmove "usr/bin/python*-config" usr/bin
|
|
|
|
vmove usr/lib/pkgconfig usr/lib
|
2011-09-19 09:31:53 +00: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 19:22:50 +00:00
|
|
|
}
|