mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-lang/execline: add 2.9.7.0
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST execline-2.9.6.0.tar.gz 111660 BLAKE2B 42baed36228b1e6a370d6d4c18829be7f517812ce9e3838e5b102d0fe58ac48ecd84f17caef89e9a07b3b149ed9b38b3b00f7eef810c231995c8e5ecbf07a770 SHA512 1c5233b0f17b4c92ab2e9e8700b47c8429ad97962bcb7c83190d0b3251b26584e591d77418eca77e8112cdecd24eec50aaca7da1dbb506120931bbda39f2b7cb
|
||||
DIST execline-2.9.6.1.tar.gz 111566 BLAKE2B 199fe6ac6a08b48537abd7868db1332b60bff8e2fa19ba697e15a6d8b0d8969908d0740fdfcf4717fbbc1a75d980a6f2844b1015e52afed26ce1eb450d4e48bb SHA512 86e20a63926cc03cb81e07c9cbea9da5d0384436a82b93e331da6b3ced33829baf5adae4286d2c053b21474d41602d53804ff0bc280da60f7bccc64cbe5f601e
|
||||
DIST execline-2.9.7.0.tar.gz 116676 BLAKE2B b05268a009a94c4d9cd9aa9b1358465a38039f7ca84a6a607a3f007aacd39c255a7b70b52c73b1720373da09b96d188152a2b1e51493c2bd63c97143490ade75 SHA512 c46aa4954a560610074a5a4f8cecc1512bab05b40739c4dddc74881edb30468f248fc08ca1a461ec66279fa43fa25d130b339790995fb1eeb1612a13dc479ac1
|
||||
|
||||
59
dev-lang/execline/execline-2.9.7.0.ebuild
Normal file
59
dev-lang/execline/execline-2.9.7.0.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2025 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 ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND=">=dev-libs/skalibs-2.14.0.0:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-pkgconfdir-configure.patch"
|
||||
)
|
||||
|
||||
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-pkgconfig
|
||||
--pkgconfdir="/usr/$(get_libdir)/pkgconfig"
|
||||
|
||||
--enable-shared
|
||||
--disable-allstatic
|
||||
--disable-static
|
||||
--disable-static-libc
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "man pages" app-doc/execline-man-pages
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
From c7c284ebcaa969239a10889a121e2b21f94da444 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Bercot <ska-skaware@skarnet.org>
|
||||
Date: Mon, 5 May 2025 14:13:55 +0000
|
||||
Subject: [PATCH] Fix configure
|
||||
|
||||
Signed-off-by: Laurent Bercot <ska@appnovation.com>
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 976f62f..eb16358 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -187,7 +187,7 @@ for arg ; do
|
||||
--libdir=*) libdir=${arg#*=} ;;
|
||||
--includedir=*) includedir=${arg#*=} ;;
|
||||
--sysconfdir=*) sysconfdir=${arg#*=} ;;
|
||||
- --pkgconfigdir=*) pkgconfigdir=${arg#*=} ;;
|
||||
+ --pkgconfdir=*) pkgconfdir=${arg#*=} ;;
|
||||
--with-sysdeps=*) sysdeps=${arg#*=} manualsysdeps=true ;;
|
||||
--with-include=*) var=${arg#*=} ; stripdir var ; addincpath="$addincpath -I$var" ; depincpath="${depincpath}${depincpath:+ }-I$var" ;;
|
||||
--with-lib=*) var=${arg#*=} ; stripdir var ; addlibspath="$addlibspath -L$var" ; deplibpath="${deplibpath}${deplibpath:+ }-L$var" ; vpaths="$vpaths $var" ;;
|
||||
--
|
||||
2.48.1
|
||||
|
||||
Reference in New Issue
Block a user