void-packages/srcpkgs/drawterm/template

28 lines
749 B
Bash

# Template file for 'drawterm'
pkgname=drawterm
version=0.0.20200619
revision=1
_hghash=9daaec18b823
wrksrc=${pkgname}-${_hghash}
makedepends="libX11-devel libXt-devel"
short_desc="Connect to Plan 9 CPU servers from other operating systems"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LPL-1.02"
homepage="http://drawterm.9front.org/"
distfiles="https://code.9front.org/hg/${pkgname}/archive/${_hghash}.tar.gz"
checksum=15c4ac4bbaee888e2a8eb50cf7c4ff883d393253c91dc9e2ba2df5bc2a10940d
case "$XBPS_TARGET_MACHINE" in
armv5*) CFLAGS+=" -DARMv5" ;;
esac
do_build() {
make AR=$AR AS=$AS RANLIB=$RANLIB CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CONF=unix ${makejobs}
}
do_install() {
vbin drawterm
vlicense LICENSE
vman drawterm.1
}