void-packages/srcpkgs/mouseemu/template

28 lines
720 B
Bash

# Template file for 'mouseemu'
pkgname=mouseemu
version=0.15
revision=1
depends="procps-ng"
short_desc="Emulate mouse buttons and mouse wheel"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://geekounet.org/powerbook/"
distfiles="${DEBIAN_SITE}/main/m/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=bbef220a814931f8ee482c82dfd63ad0a8ec895fc7df7bac1a1ada880d59af59
conf_files="/etc/sv/mouseemu/conf"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*) depends+=" dmidecode";;
esac
do_build() {
${CC} ${CFLAGS} ${LDFLAGS} -o mouseemu mouseemu.c
}
do_install() {
vinstall ${FILESDIR}/99-mouseemu.rules 644 usr/lib/udev/rules.d/
vbin mouseemu
vman mouseemu.8
vsv mouseemu
}