public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/bzip2/
Date: Wed, 26 Jun 2019 08:02:04 +0000 (UTC)	[thread overview]
Message-ID: <1561536120.344bcb4ae374c6d91e2286b1af3a0a8e71e2c256.polynomial-c@gentoo> (raw)

commit:     344bcb4ae374c6d91e2286b1af3a0a8e71e2c256
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 08:01:47 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 08:02:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344bcb4a

app-arch/bzip2: Added live ebuild

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-arch/bzip2/bzip2-9999.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/app-arch/bzip2/bzip2-9999.ebuild b/app-arch/bzip2/bzip2-9999.ebuild
new file mode 100644
index 00000000000..efb00d106df
--- /dev/null
+++ b/app-arch/bzip2/bzip2-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson multilib-minimal
+
+DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
+HOMEPAGE="https://gitlab.com/federicomenaquintero/bzip2"
+if [[ "${PV}" == 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/federicomenaquintero/bzip2.git"
+else
+	SRC_URI=""
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+fi
+LICENSE="BZIP2"
+SLOT="0/1" # subslot = SONAME
+
+IUSE=""
+
+multilib_src_configure() {
+	local emesonargs=(
+		# Requires whole tex stack
+		-Ddocs="disabled"
+	)
+
+	meson_src_configure
+}
+
+multilib_src_compile() {
+	meson_src_compile
+}
+
+multilib_src_install() {
+	meson_src_install
+
+	if multilib_is_native_abi ; then
+		gen_usr_ldscript -a bz2
+
+		dodir /bin
+		mv "${ED}"/usr/bin/bzip2 "${ED}"/bin || die
+	fi
+}
+
+multilib_src_install_all() {
+	# move "important" bzip2 binaries to /bin and use the shared libbz2.so
+	dosym bzip2 /bin/bzcat
+	dosym bzip2 /bin/bunzip2
+
+	dosym bzdiff /usr/bin/bzcmp
+	dosym bzmore /usr/bin/bzless
+	local x
+	for x in bz{e,f}grep ; do
+		dosym bzgrep /usr/bin/${x}
+	done
+
+	dosym bzip2.1 /usr/share/man/man1/bzip2recover.1
+
+	local DOCS=( AUTHORS NEWS{,-pre-1.0.7} README.md )
+	einstalldocs
+}


             reply	other threads:[~2019-06-26  8:02 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26  8:02 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-18 17:06 [gentoo-commits] repo/gentoo:master commit in: app-arch/bzip2/ Sam James
2024-03-19  3:42 Ionen Wolkens
2024-03-03  2:32 Sam James
2024-03-02 22:17 Sam James
2024-03-01 18:41 Sam James
2024-02-27 23:57 Sam James
2024-02-27 23:39 Jakov Smolić
2024-02-27 23:21 Sam James
2024-02-27 23:04 Sam James
2024-02-06 22:49 Sam James
2023-06-28 16:32 Sam James
2023-02-24 18:36 Sam James
2022-12-28  0:33 Sam James
2022-12-27 19:53 Sam James
2022-12-27 13:40 Sam James
2022-12-27 11:31 Sam James
2022-12-01  1:39 Sam James
2022-10-29 21:32 Sam James
2022-09-23  5:41 Sam James
2022-09-23  5:41 Sam James
2022-09-06 16:10 Mike Gilbert
2022-09-05 21:32 Mike Gilbert
2022-05-17  6:45 Sam James
2022-04-06 23:34 Sam James
2022-02-18 19:38 Mike Gilbert
2021-03-26 12:01 Agostino Sarubbo
2021-03-16 22:33 Sam James
2021-03-16 18:10 Sergei Trofimovich
2021-03-15  3:50 Sam James
2021-03-15  2:26 Sam James
2021-03-15  1:40 Thomas Deutschmann
2021-03-15  0:51 Sam James
2021-03-15  0:51 Sam James
2020-04-11 17:46 Mike Gilbert
2020-04-11 17:46 Mike Gilbert
2020-04-11 17:26 Mike Gilbert
2019-06-26 17:47 Mike Gilbert
2019-05-03 23:17 Andreas K. Hüttel
2018-08-10 20:23 Thomas Deutschmann
2018-07-15 17:41 Mikle Kolyada
2018-07-15 17:41 Mikle Kolyada
2018-06-24 10:02 Jeroen Roovers
2018-06-22  9:50 Mikle Kolyada
2018-06-19 14:32 Tobias Klausmann
2018-05-30 16:30 Markus Meier
2018-05-26 10:06 Mart Raudsepp
2018-05-24  6:19 Sergei Trofimovich
2018-05-23 20:54 Mikle Kolyada
2018-05-23 19:17 Sergei Trofimovich
2017-10-02  9:11 Thomas Deutschmann
2017-10-02  9:11 Thomas Deutschmann
2017-09-09 21:07 Lars Wendler
2017-09-09 20:02 Sergei Trofimovich
2017-06-21 11:57 Agostino Sarubbo
2017-06-08  5:09 Markus Meier
2017-06-04 19:38 Sergei Trofimovich
2017-06-04 19:20 Tobias Klausmann
2017-06-04 10:42 Agostino Sarubbo
2017-06-04 10:34 Agostino Sarubbo
2017-01-19 14:14 Mike Frysinger
2017-01-17 16:23 Lars Wendler
2016-06-04  4:49 Markus Meier
2016-05-27 12:46 Lars Wendler
2016-05-26 20:05 Lars Wendler
2016-05-25  6:29 Matt Turner
2016-05-25  5:25 Jeroen Roovers

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=1561536120.344bcb4ae374c6d91e2286b1af3a0a8e71e2c256.polynomial-c@gentoo \
    --to=polynomial-c@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