vp-build/templates/libwmf/devel.template
Juan RP 8e7b4950c0 libwmf: new deps style, converted to subpkgs.
--HG--
extra : convert_revision : 3d8a78f33f58e48e405f4c3108fca56e9f756ce6
2009-04-22 01:21:13 +02:00

24 lines
759 B
Plaintext

# Template file for 'libwmf-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libwmf
do_install()
{
local gtk_abiver="2.10.0"
mkdir -p ${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/bin/libwmf-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders/*.*a \
${DESTDIR}/usr/lib/gtk-2.0/${gtk_abiver}/loaders
}