void-packages/srcpkgs/iselect/template
2021-04-10 16:54:29 +02:00

25 lines
723 B
Bash

# Template file for 'iselect'
pkgname=iselect
version=1.4.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Interactive line selection tool for textual files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
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}
}