mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
qemacs: update to 5.4.1c.
Upstream moved to Github.
This commit is contained in:
parent
43f4e6d7d8
commit
aea8594eda
1 changed files with 9 additions and 14 deletions
|
@ -1,34 +1,29 @@
|
||||||
# Template file for 'qemacs'
|
# Template file for 'qemacs'
|
||||||
pkgname=qemacs
|
pkgname=qemacs
|
||||||
version=0.5.0.20170701
|
version=5.4.1c
|
||||||
revision=3
|
revision=1
|
||||||
create_wrksrc=yes
|
_githash=216b3ff8b77ff138aec22045522d5601b7390e58
|
||||||
build_wrksrc=qemacs
|
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --mandir=/usr/share/man
|
configure_args="--prefix=/usr --mandir=/usr/share/man
|
||||||
--disable-x11 --disable-plugins"
|
--disable-x11 --disable-plugins"
|
||||||
hostmakedepends="cvs"
|
|
||||||
short_desc="Small but powerful Emacs clone (with UTF-8, HTML, shell, dired)"
|
short_desc="Small but powerful Emacs clone (with UTF-8, HTML, shell, dired)"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://bellard.org/qemacs/"
|
homepage="https://github.com/qemacs/qemacs"
|
||||||
|
distfiles="https://github.com/qemacs/qemacs/archive/${_githash}.tar.gz"
|
||||||
|
checksum=cacf12beb925c427204db8e828f1c5bad41cff3439293d03e28631b6a9e66869
|
||||||
|
|
||||||
do_fetch() {
|
|
||||||
cd ${wrksrc}
|
|
||||||
cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/qemacs \
|
|
||||||
co -D ${version##*.} qemacs
|
|
||||||
}
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i -e /HOST_CC/s/CFLAGS/HOST_CFLAGS/ -e /INSTALL/s/-s// \
|
sed -i -e /HOST_CC/s/CFLAGS/HOST_CFLAGS/ -e /INSTALL/s/-s// \
|
||||||
Makefile */Makefile
|
Makefile */Makefile
|
||||||
echo CONFIG_HTML=yes >>config.mak
|
echo CONFIG_HTML=yes >>config.mak
|
||||||
echo '#define CONFIG_HTML 1' >>config.h
|
echo '#define CONFIG_HTML 1' >>config.h
|
||||||
make V=1 TARGETS=qe STRIP=echo CC="$CC" \
|
make ${makejobs} V=1 TARGETS=qe STRIP=true CC="$CC" \
|
||||||
CFLAGS="$CFLAGS -funsigned-char -Ilibqhtml -I.." \
|
CFLAGS="$CFLAGS -funsigned-char -Ilibqhtml -I.. -I." \
|
||||||
LDFLAGS="$LDFLAGS"
|
LDFLAGS="$LDFLAGS"
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make V=1 TARGETS=qe STRIP=echo CC="$CC" \
|
make V=1 TARGETS=qe STRIP=true CC="$CC" \
|
||||||
CFLAGS="$CFLAGS -funsigned-char -Ilibqhtml -I.." \
|
CFLAGS="$CFLAGS -funsigned-char -Ilibqhtml -I.." \
|
||||||
LDFLAGS="$LDFLAGS" CONFIG_HTML= DESTDIR="$DESTDIR" install
|
LDFLAGS="$LDFLAGS" CONFIG_HTML= DESTDIR="$DESTDIR" install
|
||||||
vdoc qe-doc.html
|
vdoc qe-doc.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue