void-packages/srcpkgs/libxml2/libxml2-python.template

22 lines
507 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."
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
}