void-packages/srcpkgs/ex-vi/template
Christian Neukirchen 37748ddb44 ex-vi: fix CFLAGS.
2015-06-05 21:50:07 +02:00

25 lines
815 B
Bash

# Template file for 'ex-vi'
pkgname=ex-vi
version=050325
revision=5
wrksrc="ex-${version}"
build_style=gnu-makefile
make_build_args="PREFIX=/usr TERMLIB=ncurses PRESERVEDIR=/var/tmp LARGEF=-DLARGEF"
make_install_args="INSTALL=/usr/bin/install PRESERVEDIR=/var/tmp STRIP="
CFLAGS=-I.
makedepends="ncurses-devel"
replaces="nvi>=0"
provides="nvi-${version}_${revision}"
short_desc="The original ex/vi text editor (Heirloom version)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://ex-vi.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/ex-${version}.tar.bz2"
checksum=da4be7cf67e94572463b19e56850aa36dc4e39eb0d933d3688fe8574bb632409
disable_parallel_build=yes
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/bin/edit
rm ${DESTDIR}/usr/share/man/man1/edit.1
}