public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/beanstalkd/
Date: Sun, 18 Jul 2021 16:18:01 +0000 (UTC)	[thread overview]
Message-ID: <1626625059.9dc843d04bd7146dfe6a7021536bdbc2839e5874.conikost@gentoo> (raw)

commit:     9dc843d04bd7146dfe6a7021536bdbc2839e5874
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 11:44:26 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 16:17:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc843d0

app-misc/beanstalkd: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781257
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-misc/beanstalkd/beanstalkd-1.10-r1.ebuild | 43 +++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/app-misc/beanstalkd/beanstalkd-1.10-r1.ebuild b/app-misc/beanstalkd/beanstalkd-1.10-r1.ebuild
new file mode 100644
index 00000000000..489bb2fc14e
--- /dev/null
+++ b/app-misc/beanstalkd/beanstalkd-1.10-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="A simple, fast work queue"
+HOMEPAGE="https://kr.github.io/beanstalkd/"
+SRC_URI="https://github.com/kr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~mips x86 ~amd64-linux ~x64-macos"
+
+RDEPEND="
+	acct-group/beanstalk
+	acct-user/beanstalk
+"
+
+DOCS=( README News docs/protocol.txt )
+
+src_prepare() {
+	sed -e "s/CFLAGS=/CFLAGS?=/" \
+		-e "s/LDLIBS/LDFLAGS/" \
+		-e "s/LDFLAGS=/LDFLAGS?=/"
+		-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}
+}


             reply	other threads:[~2021-07-18 16:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 16:18 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-14 22:02 [gentoo-commits] repo/gentoo:master commit in: app-misc/beanstalkd/ Petr Vaněk
2024-11-23 15:47 Michał Górny
2024-11-23 12:24 Arthur Zamarin
2024-10-07  6:46 Joonas Niilola
2024-10-07  6:46 Joonas Niilola
2024-10-07  6:46 Joonas Niilola
2021-12-05 18:31 Sam James
2021-12-05  4:16 Sam James
2021-07-18 16:18 Conrad Kostecki
2021-07-18 16:18 Conrad Kostecki
2020-04-16  9:26 Mart Raudsepp
2016-11-03 16:19 Göktürk Yüksek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626625059.9dc843d04bd7146dfe6a7021536bdbc2839e5874.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox