void-packages/srcpkgs/xvkbd/template

27 lines
732 B
Bash

# Template file for 'xvkbd'
pkgname=xvkbd
version=3.9
revision=1
build_style=gnu-configure
hostmakedepends="imake xorg-cf-files gccmakedep"
makedepends="libXaw-devel libXaw3d-devel libXtst-devel"
short_desc="Virtual (graphical) keyboard program for X11"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://t-sato.in.coocan.jp/xvkbd/"
distfiles="http://t-sato.in.coocan.jp/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b81c37ddfb7b78993dad15d304f8fd78e540d57c0a72f7e3316fd45fba919a9d
nocross=yes # xmkmf broken
do_configure() {
xmkmf
}
pre_build() {
export MODULE_CFLAGS="$CFLAGS"
export LOCAL_LDFLAGS="$LDFLAGS"
}
post_install() {
rm ${DESTDIR}/usr/lib/X11/app-defaults
vman xvkbd.man xvkbd.1
}