void-packages/templates/libxml2/devel.template
Juan RP c1eac344fd libxml2: converted to subpkgs.
--HG--
extra : convert_revision : 435d790dbdbd6c132f4ffca31541f4074ea21cdb
2009-03-21 00:27:21 +01:00

28 lines
939 B
Text

# 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
}