1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A websocket implementation in elisp"
10 HOMEPAGE="https://github.com/ahyatt/emacs-websocket"
11 SRC_URI="https://github.com/ahyatt/emacs-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
17 S="${WORKDIR}/emacs-${P}"
18 SITEFILE="50${PN}-gentoo.el"
21 elisp-compile websocket.el
25 ${EMACS} ${EMACSFLAGS} -L . -l websocket-test \
26 -f ert-run-tests-batch-and-exit
30 elisp-install ${PN} websocket.{el,elc}
31 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
32 dodoc README.org websocket-functional-test.el testserver.py