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

29 lines
939 B
Text
Raw Normal View History

# Template file for 'libxml2-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libxml2
do_install()
{
mkdir -p ${DESTDIR}/usr/bin
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/doc
mkdir -p ${DESTDIR}/usr/share/man/man1
mv ${SRCPKGDESTDIR}/usr/bin/xml2-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/xml2Conf.sh ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-${version} \
${DESTDIR}/usr/share/doc
mv ${SRCPKGDESTDIR}/usr/share/man/man1/xml2-config* \
${DESTDIR}/usr/share/man/man1
}