void-packages/srcpkgs/xzoom/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

24 lines
697 B
Bash

# 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
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
}