summaryrefslogtreecommitdiff
path: root/dev-lang/bas/bas-2.6-r2.ebuild
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2025-07-17 16:09:15 +0200
committerMaciej Barć <xgqt@gentoo.org>2025-07-17 17:24:06 +0200
commit58e726cedc57f56d84d1fd7f3a208ef718dac64c (patch)
tree85099361adbbf6afca55be6e9eb5de0df8decf5a /dev-lang/bas/bas-2.6-r2.ebuild
parent61dea170ad03ab4db01a2a5764ec14b71454c28e (diff)
downloadgentoo-58e726cedc57f56d84d1fd7f3a208ef718dac64c.tar.gz
gentoo-58e726cedc57f56d84d1fd7f3a208ef718dac64c.tar.bz2
gentoo-58e726cedc57f56d84d1fd7f3a208ef718dac64c.zip
dev-lang/bas: remove static libs
Closes: https://bugs.gentoo.org/958063 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/bas/bas-2.6-r2.ebuild')
-rw-r--r--dev-lang/bas/bas-2.6-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-lang/bas/bas-2.6-r2.ebuild b/dev-lang/bas/bas-2.6-r2.ebuild
new file mode 100644
index 000000000000..5f2dc6c633f6
--- /dev/null
+++ b/dev-lang/bas/bas-2.6-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="An interpreter for the classic dialect of the programming language BASIC"
+HOMEPAGE="http://www.moria.de/~michael/bas/"
+SRC_URI="http://www.moria.de/~michael/bas/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ sys-libs/ncurses:=
+ virtual/libintl
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ app-alternatives/lex
+ sys-devel/gettext
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.1-makefile.patch" )
+
+src_prepare() {
+ default
+
+ eautoconf
+}
+
+src_configure() {
+ tc-export AR
+
+ econf
+}
+
+src_install() {
+ default
+ find "${ED}" -name "*.a" -delete || die "failed to remove static libs"
+
+ docinto pdf
+ dodoc ./bas.pdf
+}