summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-05-26 11:25:08 -0500
committerBen Kohler <bkohler@gentoo.org>2022-05-26 11:27:32 -0500
commit9f79411e786b96896aac17b8c1d6881e3589e0e7 (patch)
treee83231e7d91242f17378bfcc1a9f6c757c2bb4a6 /dev-libs/ell
parentnet-p2p/deluge: Stabilize 2.0.5-r1 x86, #847571 (diff)
downloadgentoo-9f79411e786b96896aac17b8c1d6881e3589e0e7.tar.gz
gentoo-9f79411e786b96896aac17b8c1d6881e3589e0e7.tar.bz2
gentoo-9f79411e786b96896aac17b8c1d6881e3589e0e7.zip
Revert "dev-libs/ell: drop 0.49"
This reverts commit 3422ef00630296325aaf8ce634c3f1f514cdabd8. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/ell')
-rw-r--r--dev-libs/ell/Manifest1
-rw-r--r--dev-libs/ell/ell-0.49.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest
index 209f2b9d3cce..c1ebe4102850 100644
--- a/dev-libs/ell/Manifest
+++ b/dev-libs/ell/Manifest
@@ -1 +1,2 @@
+DIST ell-0.49.tar.xz 530072 BLAKE2B 76823742261b319a60fa34a086e4f328459c12fa2e53c2fc0397968a7c5914eac019598f927853697c3aa3c8afc389758bf4ca31f3b6315b09d6bdccf0244a88 SHA512 9bac4312ebe85bd6903bd9665551e9f1de4cfc6914659cea28355363502f8968ac842b3579ac8efcb0721cb5a1f3f16dca80f02235f3675a24f13eb250ed3aea
DIST ell-0.50.tar.xz 534092 BLAKE2B 0f217f2f8a438f9d7e7862b5b2c45fecab3468bad3dc5912a87473f3237bdc3c541cec518bcea9ea5f45e6584793984ae822e6650676f2d22e10d84b7c30a08b SHA512 95dcfb34ece3bb7d6dc6f808c3df785cbb6966e7ac5533b9fd939a64288e6a584542cd69a6484da0f6ef752a62a87c143892d8f461d8389e4a12a1167bfa0590
diff --git a/dev-libs/ell/ell-0.49.ebuild b/dev-libs/ell/ell-0.49.ebuild
new file mode 100644
index 000000000000..1ef74d66e58c
--- /dev/null
+++ b/dev-libs/ell/ell-0.49.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic linux-info multilib-minimal
+
+DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
+HOMEPAGE="https://01.org/ell"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
+else
+ SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
+fi
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="pie test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="test? ( sys-apps/dbus )"
+
+CONFIG_CHECK="
+ ~TIMERFD
+ ~EVENTFD
+ ~CRYPTO_USER_API
+ ~CRYPTO_USER_API_HASH
+ ~CRYPTO_MD5
+ ~CRYPTO_SHA1
+ ~KEY_DH_OPERATIONS
+"
+
+src_prepare() {
+ default
+ [[ "${PV}" == *9999 ]] && eautoreconf
+}
+
+multilib_src_configure() {
+ append-cflags "-fsigned-char" #662694
+ local myeconfargs=(
+ $(use_enable pie)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ local DOCS=( ChangeLog README )
+ einstalldocs
+
+ find "${ED}" -name "*.la" -delete || die
+}