24 lines
689 B
Bash
24 lines
689 B
Bash
# Template file for 'xzoom'
|
|
pkgname=xzoom
|
|
version=0.3
|
|
revision=2
|
|
hostmakedepends="imake"
|
|
makedepends="libXt-devel libXext-devel"
|
|
short_desc="Magnify part of X display, with real-time updates"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="xzoom"
|
|
homepage="http://www.ibiblio.org/pub/linux/libs/X/"
|
|
distfiles="http://www.ibiblio.org/pub/linux/libs/X/xzoom-${version}.tgz"
|
|
checksum=b26bfd692d3e1d30e8d524d4018fc3f0fe847983a2778a4a2496784bfc2df44b
|
|
|
|
do_build() {
|
|
CC=cc xmkmf
|
|
vsed -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
|
|
}
|