void-packages/srcpkgs/most/template

21 lines
817 B
Text
Raw Normal View History

2014-02-06 12:26:23 +00:00
# Template file for 'most'
pkgname="most"
2014-02-06 14:53:45 +00:00
version=5.0.0a
2014-02-27 10:53:04 +00:00
revision=5
2014-02-06 12:26:23 +00:00
build_style=gnu-configure
2014-02-06 14:53:45 +00:00
configure_args="--with-slang=${XBPS_CROSS_BASE}/usr"
hostmakedepends="slang-devel"
makedepends="slang-devel"
2014-02-06 12:26:23 +00:00
short_desc="Paging program that displays, one windowful at a time, the contents of a file"
maintainer="Jens E. Becker <v2px@v2px.de>"
license="GPL-2"
homepage="ftp://space.mit.edu/pub/davis/most/"
distfiles="ftp://space.mit.edu/pub/davis//${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=94cb5a2e71b6b9063116f4398a002a757e59cd1499f1019dde8874f408485aa9
2014-02-06 14:53:45 +00:00
post_configure() {
sed -e 's,$(INSTALL) -s,$(INSTALL),g' -i src/Makefile
sed -e 's,\($(CC)\) \($(OBJDIR)/chkslang.o -o $(OBJDIR)/chkslang\),$(BUILD_CC) \2,g' -i src/Makefile
sed -e '/chkslang_C_FLAGS/s,\$(COMPILE_CMD),\$(BUILD_CC) -c,g' -i src/Makefile
}