29 lines
946 B
Plaintext
29 lines
946 B
Plaintext
# 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 zlib-devel
|
|
Add_dependency run libxml2
|
|
|
|
do_install()
|
|
{
|
|
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
|
|
}
|