libxml2: converted to subpkgs.
--HG-- extra : convert_revision : 435d790dbdbd6c132f4ffca31541f4074ea21cdb
This commit is contained in:
20
templates/libxml2/python.template
Normal file
20
templates/libxml2/python.template
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user