void-packages/srcpkgs/xzoom/template

25 lines
715 B
Bash
Raw Normal View History

2018-12-10 16:13:53 +01:00
# Template file for 'xzoom'
pkgname=xzoom
version=0.3
revision=1
hostmakedepends="imake"
makedepends="libXt-devel libXext-devel"
short_desc="Magnify part of X display, with real-time updates"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Custom"
homepage="http://sunsite.unc.edu/pub/linux/libs/X/"
distfiles="http://webdiis.unizar.es/pub/unix/X11/${pkgname}-${version}.tgz"
checksum=b26bfd692d3e1d30e8d524d4018fc3f0fe847983a2778a4a2496784bfc2df44b
patch_args="-Np1"
do_build() {
CC=cc xmkmf
sed -i "s@-O2@$CFLAGS@" ./Makefile
make CC=$CC CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
do_install() {
make MANSUFFIX=1 DESTDIR=${DESTDIR} install install.man
vlicense ${FILESDIR}/COPYING
}