app-emacs/zmq - 1.0.2 (tgbugs-overlay)

Search

Install

Install this version:

emerge -a =app-emacs/zmq-1.0.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-emacs/zmq-1.0.2

Or alternatively:

emerge --autounmask-write -a =app-emacs/zmq-1.0.2

Package Information

Description:
Emacs bindings for zeromq.
Homepage:
https://github.com/nnicandro/emacs-zmq/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.0.2 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

NEED_EMACS=26
MY_PN="emacs-zmq"
[[ ${PV} = 1.0.2 ]] && COMMIT="fe856c43286674aa6770d95a81d915363f5df399"

inherit autotools elisp

DESCRIPTION="Emacs bindings for zeromq."
HOMEPAGE="https://github.com/nnicandro/emacs-zmq/"
SRC_URI="https://github.com/nnicandro/${MY_PN}/archive/${COMMIT}.tar.gz
	-> ${P}.tar.gz"
S="${WORKDIR}"/${MY_PN}-${COMMIT}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

DEPEND="net-libs/zeromq[drafts]"
RDEPEND="
	${DEPEND}
	>=app-editors/emacs-26:*[dynamic-loading]
"

PATCHES=(
	"${FILESDIR}"/${PN}-no-compile-no-download.patch
	"${FILESDIR}"/${PN}-tests-no-download.patch
	"${FILESDIR}"/${PN}-subprocess-module-path.patch
)

DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"

src_configure() {
	pushd src || die
	eautoreconf
	./configure \
		--prefix=${S} \
		--enable-shared=emacs-zmq \
		--without-docs \
		--enable-drafts=yes \
		--enable-libunwind=no \
		--disable-curve-keygen \
		--disable-perf \
		--disable-eventfd || die
	popd
}

src_compile() {
	ZMQ_LIBS=/usr/lib64/libzmq.so
	emake ${S}/emacs-zmq.so || die  # FIXME match makefile extension ?
	mv emacs-zmq.so zmq-core.so
	elisp_src_compile
}

src_install() {
	elisp_src_install
	elisp-modules-install ${PN} zmq-core.so
}

Inherited Eclasses

Dependencies

DEPEND

net-libs/zeromq[drafts]

RDEPEND

	net-libs/zeromq[drafts]
	>=app-editors/emacs-26:*[dynamic-loading]

Manifest for 1.0.2

Type File Size Source URLs
DIST zmq-1.0.2.tar.gz 50740 bytes https://github.com/nnicandro/emacs-zmq/archive/.tar.gz