void-packages/srcpkgs/udev/libgudev-devel.template
Juan RP 9d17a83159 udev: update to 153, added gir-gudev subpkg.
--HG--
extra : convert_revision : a1e24589da779297efcf2cd653eb46a0aa74f9a8
2010-04-23 11:58:14 +02:00

24 lines
791 B
Text

# Template file for 'udev-glib-devel'.
#
short_desc="${short_desc} - development glib bindings"
long_desc="${long_desc}
This package contains the libgudev development files (static libs, headers,
etc), a library to interact with udev through the GLib bindings."
replaces="udev-glib-devel>=0"
Add_dependency run libudev-devel
Add_dependency run glib-devel
Add_dependency run libgudev
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/gtk-doc/html \
${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/include/gudev* ${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc/html/gudev \
${DESTDIR}/usr/share/gtk-doc/html
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/gudev* \
${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/share/gir-1.0 ${DESTDIR}/usr/share
}