app-misc/beanstalkd - 1.13 (gentoo)

Search

Package Information

Description:
A simple, fast work queue
Homepage:
https://kr.github.io/beanstalkd/
License:
MIT

Ebuild Details

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

EAPI=8

inherit systemd toolchain-funcs

DESCRIPTION="A simple, fast work queue"
HOMEPAGE="https://kr.github.io/beanstalkd/"
SRC_URI="https://github.com/beanstalkd/beanstalkd/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~mips x86 ~x64-macos"

RDEPEND="
	acct-group/beanstalk
	acct-user/beanstalk
"

DOCS=( README News docs/protocol.txt )

src_prepare() {
	default
	sed -e "/override/d" -i Makefile || die
}

src_compile() {
	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)"
}

src_install() {
	dobin beanstalkd

	doman doc/"${PN}".1

	newconfd "${FILESDIR}/conf-1.9" beanstalkd
	newinitd "${FILESDIR}/init-1.9" beanstalkd

	systemd_dounit "${S}/adm/systemd/${PN}".{service,socket}
}

Dependencies

RDEPEND

	acct-group/beanstalk
	acct-user/beanstalk

Manifest for 1.13

Type File Size Source URLs
DIST beanstalkd-1.13.tar.gz 81234 bytes https://github.com/beanstalkd/beanstalkd/archive/v1.13.tar.gz