void-packages/templates/poppler/glib-devel.template
Juan RP 5d6e9821df poppler: improve descriptions for subpkgs.
--HG--
extra : convert_revision : 6b65df087bdff42134e121f990f16bbd36ba71bb
2009-04-19 17:04:45 +02:00

21 lines
617 B
Text

# Template file for 'poppler-glib'.
#
short_desc="${sourcepkg} GLib bindings (development files)"
long_desc="${long_desc}
This package contains development files for GTK+/Glib bindings."
Add_dependency run poppler
Add_dependency run poppler-glib
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libpoppler-glib.so ${DESTDIR}/usr/lib
for f in poppler-cairo poppler-glib; do
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/${f}.pc \
${DESTDIR}/usr/lib/pkgconfig
done
}