33 lines
885 B
Bash
33 lines
885 B
Bash
# Template file for 'qemacs'
|
|
pkgname=qemacs
|
|
version=0.4.0.20140809
|
|
revision=1
|
|
wrksrc="${pkgname}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --mandir=/usr/share/man
|
|
--disable-x11 --disable-plugins"
|
|
hostmakedepends="cvs"
|
|
short_desc="Small but powerful Emacs clone (feat. UTF-8, HTML, shell, dired)"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://bellard.org/qemacs/"
|
|
|
|
do_fetch() {
|
|
cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/qemacs \
|
|
co -D ${version##*.} qemacs
|
|
}
|
|
|
|
do_build() {
|
|
sed -i -e /HOST_CC/s/CFLAGS/HOST_CFLAGS/ -e /INSTALL/s/-s// \
|
|
Makefile */Makefile
|
|
echo CONFIG_HTML=yes >>config.mak
|
|
make V=1 TARGETS=qe STRIP=echo CC="$CC" \
|
|
CFLAGS="$CFLAGS -funsigned-char -Ilibqhtml -I.." \
|
|
LDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
do_install() {
|
|
make TARGETS=qe DESTDIR="$DESTDIR" CONFIG_HTML= install
|
|
vdoc qe-doc.html
|
|
}
|