mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
es: update to 0.9.2.
Switch to maintained upstream.
This commit is contained in:
parent
fe643d6df7
commit
6db137fd2b
2 changed files with 23 additions and 17 deletions
15
srcpkgs/es/patches/ldflags.patch
Normal file
15
srcpkgs/es/patches/ldflags.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -67,10 +67,10 @@
|
||||||
|
SIGFILES = @SIGFILES@
|
||||||
|
|
||||||
|
es : ${OFILES} initial.o
|
||||||
|
- ${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS}
|
||||||
|
+ ${CC} -o es ${OFILES} initial.o ${LDFLAGS} ${LIBS}
|
||||||
|
|
||||||
|
esdump : ${OFILES} dump.o
|
||||||
|
- ${CC} -o esdump ${LDFLAGS} ${OFILES} dump.o ${LIBS}
|
||||||
|
+ ${CC} -o esdump ${OFILES} dump.o ${LDFLAGS} ${LIBS}
|
||||||
|
|
||||||
|
clean :
|
||||||
|
rm -f es ${OFILES} ${GEN} dump.o initial.o
|
|
@ -1,30 +1,21 @@
|
||||||
# Template file for 'es'
|
# Template file for 'es'
|
||||||
pkgname=es
|
pkgname=es
|
||||||
version=0.9beta1
|
version=0.9.2
|
||||||
revision=6
|
revision=1
|
||||||
wrksrc="${pkgname}-${version/beta/-beta}"
|
create_wrksrc=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-readline"
|
configure_args="--with-readline es_cv_abused_getenv=no"
|
||||||
hostmakedepends="bison"
|
hostmakedepends="bison"
|
||||||
makedepends="readline-devel"
|
makedepends="readline-devel"
|
||||||
short_desc="Functional shell with rc-inspired syntax"
|
short_desc="Functional shell with rc-inspired syntax"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
homepage="http://hawkwind.cs.toronto.edu:8001/mlists/es.html"
|
homepage="https://github.com/wryun/es-shell/"
|
||||||
distfiles="ftp://ftp.sys.utoronto.ca/pub/${pkgname}/${pkgname}-${version/beta/-beta}.tar.gz"
|
distfiles="https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz"
|
||||||
checksum=4085cd7a958fe8753abc026ed1450bd8fac4c70b753a650c5c3618bbe80d082b
|
checksum=c926482b42084e903eb871ee1eb0cefc09dae6f1adeb8408dd9e933035c4f5dd
|
||||||
nocross=yes
|
nocross=yes
|
||||||
register_shell="/bin/es"
|
register_shell="/bin/es"
|
||||||
|
|
||||||
post_extract() {
|
post_install() {
|
||||||
sed -i '/_STDLIB_H/d' parse.y
|
|
||||||
sed -i 's/CLK_TCK/CLOCKS_PER_SEC/g' prim-sys.c
|
|
||||||
sed -i -e 's/va_arg(format->args, short)/va_arg(format->args, int)/' \
|
|
||||||
-e 's/format->args = saveargs/memcpy(format->args, saveargs, sizeof(va_list));/' print.c
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin es
|
|
||||||
vbin esdebug
|
vbin esdebug
|
||||||
vman es.1
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue