mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-lang/execline: add 2.9.6.0
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST execline-2.9.5.1.tar.gz 110874 BLAKE2B bef3cb560f00c01c96065429220017315edc8378403c73e4a0edba67ee248f76ca849cd8a107756251db9844d3ac650259b33db2f93abc1c7aa4f68995b5b624 SHA512 11bfd825b0b72cba118eff9ecb97672d0c015e0bd50c7c8f83e101ee41c323b3a3c82e42fed75b6bc65ab6edb85a8bbeef8900b594cf651825b6313a5123c88f
|
||||
DIST execline-2.9.6.0.tar.gz 111660 BLAKE2B 42baed36228b1e6a370d6d4c18829be7f517812ce9e3838e5b102d0fe58ac48ecd84f17caef89e9a07b3b149ed9b38b3b00f7eef810c231995c8e5ecbf07a770 SHA512 1c5233b0f17b4c92ab2e9e8700b47c8429ad97962bcb7c83190d0b3251b26584e591d77418eca77e8112cdecd24eec50aaca7da1dbb506120931bbda39f2b7cb
|
||||
|
||||
51
dev-lang/execline/execline-2.9.6.0.ebuild
Normal file
51
dev-lang/execline/execline-2.9.6.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature 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).4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND=">=dev-libs/skalibs-2.14.0.0:="
|
||||
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="/$(get_libdir)"
|
||||
--libdir="/usr/$(get_libdir)/${PN}"
|
||||
--with-dynlib="/$(get_libdir)"
|
||||
--with-lib="/usr/$(get_libdir)/skalibs"
|
||||
--with-sysdeps="/usr/$(get_libdir)/skalibs"
|
||||
--enable-shared
|
||||
--disable-allstatic
|
||||
--disable-static
|
||||
--disable-static-libc
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "man pages" app-doc/execline-man-pages
|
||||
}
|
||||
Reference in New Issue
Block a user