void-packages/srcpkgs/eudev/template
Jürgen Buchmüller f7d9bd5eb6 eudev: remove superfluous keyboard_lookup_key()
The local declaration of the keyboard_lookup_key() function
is superfluous and also differs from that in keyboard-key-from-name.h

Closes #5569
2017-01-18 00:34:06 +01:00

45 lines
1.2 KiB
Bash

# Template file for 'eudev'
_UDEV_VERSION="220" # compatible udev version provided
pkgname=eudev
version=3.2.1
revision=2
conf_files="/etc/udev/udev.conf"
build_style=gnu-configure
configure_args="--enable-hwdb --enable-manpages --disable-introspection"
hostmakedepends="automake libtool pkg-config gperf libxslt docbook-xsl"
makedepends="libblkid-devel libkmod-devel"
short_desc="Gentoo's fork of systemd-udev (enhanced userland device daemon)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/gentoo/eudev"
distfiles="http://dev.gentoo.org/~blueness/eudev/eudev-${version}.tar.gz"
checksum=57e3d9e51cfefbdad431848ea0ad8ae1cde04928da42474f44bd200b12f5fe19
pre_configure() {
autoreconf -fi
}
post_install() {
vsv udevd
}
eudev-libudev-devel_package() {
provides="libudev-devel-${_UDEV_VERSION}_${revision}"
depends="eudev-libudev>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/pkgconfig
}
}
eudev-libudev_package() {
provides="libudev-${_UDEV_VERSION}_${revision}"
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}