32 lines
535 B
Bash
32 lines
535 B
Bash
# Copyright 2026 Shin'ya Minazuki
|
|
EAPI=8
|
|
|
|
inherit edo
|
|
|
|
DESCRIPTION="Our upgrade path from bash to a better language and runtime"
|
|
HOMEPAGE="https://oils.pub"
|
|
SRC_URI="https://oils.pub/download/${P}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE="readline"
|
|
RESTRICT="mirror"
|
|
|
|
src_configure() {
|
|
# It's not autotools
|
|
# But the switches should be similar enough
|
|
edo ./configure \
|
|
--prefix=/usr \
|
|
$(use_with readline)
|
|
}
|
|
|
|
src_compile() {
|
|
edo ./_build/oils.sh
|
|
}
|
|
|
|
src_install() {
|
|
export DESTDIR="${D}"
|
|
edo ./install
|
|
}
|