27 lines
749 B
Bash
27 lines
749 B
Bash
# Template file for 'drawterm'
|
|
pkgname=drawterm
|
|
version=0.0.20201103
|
|
revision=1
|
|
_hghash=1d3e2b3502f1
|
|
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=5740acc4f7eb8f0ea0524839847d993b7865d240070da69f7a28ca3b7aef6813
|
|
|
|
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
|
|
}
|