mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
dev-lang/execline: add 2.9.0.0
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST execline-2.8.3.0.tar.gz 98448 BLAKE2B f3dc1a194838f7973044b2d86e6026936697be4f34f9b01f5dfc98ddabfbde3dad7cfe95afd63f65cb266994b922d7d4c94368cf5dca2a2494fd0033b4ed6032 SHA512 40f4697a8165616848ed36dcb31a5859dee55a47439d13908a387550e8f53ca8fffe3bcb3e0462cb93f694c8fb483b14e152f92e6f9d0d536cdab9d94be9c53a
|
||||
DIST execline-2.9.0.0.tar.gz 100225 BLAKE2B a0b0bdde6b827272e55a64a58b28b85d4ec0ecf96eae59f553b7914642d184bc77864f31a84e4584d482893c3851eca419270b41ecc3c4f331e8ef768c90b474 SHA512 bd491ef38c439cfe469a3aeda6d462930b1edcbf04a1118851161c30fcd3521e8ec98ef53261f9216c6f210a6816d6dd7cff6dcc853a5d2f28d963f8083aed84
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A non-interactive scripting language"
|
||||
HOMEPAGE="https://www.skarnet.org/software/execline/"
|
||||
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="static static-libs"
|
||||
|
||||
REQUIRED_USE="static? ( static-libs )"
|
||||
|
||||
RDEPEND=">=dev-libs/skalibs-2.12.0.0:=[static-libs?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Avoid QA warning for LDFLAGS addition
|
||||
sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
|
||||
|
||||
sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC RANLIB
|
||||
|
||||
local myconf=(
|
||||
--bindir=/bin
|
||||
--dynlibdir=/usr/$(get_libdir)
|
||||
--libdir=/usr/$(get_libdir)/${PN}
|
||||
--with-dynlib=/usr/$(get_libdir)
|
||||
--with-lib=/usr/$(get_libdir)/skalibs
|
||||
--with-sysdeps=/usr/$(get_libdir)/skalibs
|
||||
--enable-shared
|
||||
$(use_enable static allstatic)
|
||||
$(use_enable static static-libc)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user