void-packages/srcpkgs/libxslt/libxslt-devel.template
Juan RP fd326894fd libxslt: sanitize deps, bumprev.
--HG--
extra : convert_revision : 937e9ced13b440256d7701e5837c078a7c6d9a2a
2010-01-10 16:58:31 +01:00

32 lines
972 B
Text

# Template file for 'libxslt-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run python-devel
Add_dependency run libxml2-devel
Add_dependency run libgcrypt-devel
Add_dependency run libgpg-error-devel
Add_dependency run zlib-devel
Add_dependency run libxslt
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/xslt-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/xsltConf.sh ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-${version} \
${DESTDIR}/usr/share/doc
}