dev-octave/strings: new package, add 1.2.0_p20211128

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-08 01:35:53 +02:00
parent 41b07fd824
commit 09133402c7
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit octaveforge
COMMIT="98fa88db1ba85e108655f25b3ca96a821862eb85"
DESCRIPTION="Additional functions for manipulation and analysis of strings"
HOMEPAGE="https://octave.sourceforge.io/strings/index.html"
SRC_URI="mirror://sourceforge/code-snapshots/hg/o/oc/octave/${PN}/octave-${PN}-${COMMIT}.zip"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3+ BSD-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=sci-mathematics/octave-3.8.0
dev-libs/libpcre
"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/unzip"
src_unpack() {
octaveforge_src_unpack
pushd "${WORKDIR}" || die
mv "octave-${PN}-${COMMIT}" "${PN}" || die
}