vp-build/srcpkgs/libxml2/libxml2-python.template

24 lines
519 B
Plaintext
Raw Normal View History

# Template file for 'libxml2-python'.
#
short_desc="${short_desc} (python extension)"
long_desc="${long_desc}
This package contains ${sourcepkg} python related files."
revision=1
Add_dependency run glibc
Add_dependency run python
Add_dependency run libxml2
Add_dependency run zlib
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/doc
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-python-${version} \
${DESTDIR}/usr/share/doc
}