void-packages/srcpkgs/most/template

21 lines
817 B
Plaintext
Raw Normal View History

2014-02-06 13:26:23 +01:00
# Template file for 'most'
pkgname="most"
2014-02-06 15:53:45 +01:00
version=5.0.0a
revision=4
2014-02-06 13:26:23 +01:00
build_style=gnu-configure
2014-02-06 15:53:45 +01:00
configure_args="--with-slang=${XBPS_CROSS_BASE}/usr"
hostmakedepends="slang-devel"
makedepends="slang-devel"
2014-02-06 13:26:23 +01: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 15:53:45 +01: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
}