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

29 lines
946 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."
2010-05-20 19:14:33 +00:00
Add_dependency run zlib-devel
Add_dependency run libxml2
do_install()
{
2010-05-20 19:14:33 +00:00
mkdir -p ${DESTDIR}/usr/{bin,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
}