void-packages/srcpkgs/iselect/template

26 lines
723 B
Bash

# Template file for 'iselect'
pkgname=iselect
version=1.4.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Interactive line selection tool for textual files"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.ossp.org/pkg/tool/iselect/"
distfiles="${DEBIAN_SITE}/main/${pkgname:0:1}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=5b75fc5fa5407e85fa77d2a299c4e7628c0213116809f343946e62a8a25c5b1b
CFLAGS="-fcommon"
do_build() {
make ${makejobs} CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
vbin iselect
vman iselect.1
vmkdir usr/share/${pkgname}
vcopy example usr/share/${pkgname}
}