void-packages/srcpkgs/udev/libudev-devel.template
Juan RP 0da86577ab Changed $replaces to accept pkg patterns, like Add_dependency().
Changed all packages using $replaces to the new format and bump
the revision. Require XBPS utils >= 20100121 for this to work.

--HG--
extra : convert_revision : 7593b3cb7465f7613f48aba0f2e86cdcd5430ac0
2010-01-21 03:33:26 +01:00

26 lines
709 B
Text

# Template file for 'libudev-devel'.
#
short_desc="libudev development files"
long_desc="${long_desc}
This package contains the files needed for developing applications
that use libudev."
revision=1
replaces="udev-devel>=0"
Add_dependency run glibc-devel
Add_dependency run libudev
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/pkgconfig \
${DESTDIR}/usr/include ${DESTDIR}/lib \
${DESTDIR}/usr/share/gtk-doc/html
mv ${SRCPKGDESTDIR}/usr/include/libudev* ${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/lib/libudev* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc/html/libudev \
${DESTDIR}/usr/share/gtk-doc/html
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/libudev* \
${DESTDIR}/usr/lib/pkgconfig
}