most: cross build support.
This commit is contained in:
parent
459ebf3f43
commit
a0728ff5e4
|
@ -1,8 +1,10 @@
|
||||||
# Template file for 'most'
|
# Template file for 'most'
|
||||||
pkgname="most"
|
pkgname="most"
|
||||||
version="5.0.0a"
|
version=5.0.0a
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-slang=${XBPS_CROSS_BASE}/usr"
|
||||||
|
hostmakedepends="slang-devel"
|
||||||
makedepends="slang-devel"
|
makedepends="slang-devel"
|
||||||
short_desc="Paging program that displays, one windowful at a time, the contents of a file"
|
short_desc="Paging program that displays, one windowful at a time, the contents of a file"
|
||||||
maintainer="Jens E. Becker <v2px@v2px.de>"
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
||||||
|
@ -10,3 +12,9 @@ license="GPL-2"
|
||||||
homepage="ftp://space.mit.edu/pub/davis/most/"
|
homepage="ftp://space.mit.edu/pub/davis/most/"
|
||||||
distfiles="ftp://space.mit.edu/pub/davis//${pkgname}/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://space.mit.edu/pub/davis//${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=94cb5a2e71b6b9063116f4398a002a757e59cd1499f1019dde8874f408485aa9
|
checksum=94cb5a2e71b6b9063116f4398a002a757e59cd1499f1019dde8874f408485aa9
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue