dev-libs/ftl: drop old 1.0_p20220209-r1

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov 2023-06-02 23:46:03 +03:00
parent f0df65f9dc
commit 12ace9e099
No known key found for this signature in database
GPG Key ID: 6787AA71304915E3
2 changed files with 0 additions and 80 deletions

View File

@ -1,2 +1 @@
DIST ftl-1.0_p20220209.tar.gz 732360 BLAKE2B 154d7124678852dc56087c51cd7bdbb2ffa7f6a628c959f760835b420cc5bdb74bfd4e4b0e9e0d822a26eff9b100102849b1952d9ff0f5f6cf6991859eedff4a SHA512 0673ac4116c3bc9d3e55188b0d0d663f83c2e9958888780e966516c0421a08f276443ed6de637f178edb07e59c37472eb48d892aa3cbded4db68803e8bc1fa10
DIST ftl-1.0_p20230220.tar.gz 732507 BLAKE2B a43620ed06c16566ea3e112393be0a59ffdff2339e1500e8017e995359d2ec73a711d5b3c9127a13fd0972b3a00de659efbddf580da324f4db4eeeed92687721 SHA512 1e1d416cc6fe18cc8d766bbfaa9ab6ee9a1f1fe5af661781857ca88c33cc9309e7dfc6abb826e7b09ec13984948b0dbe41cccf770105bf58c6b9b01662dfbef8

View File

@ -1,79 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
FORTRAN_STANDARD="2003"
inherit flag-o-matic fortran-2 toolchain-funcs
COMMIT="69fa39bbf9441d1686e65b7e19b1606f8cab4b9f"
DESCRIPTION="The Fortran Template Library (FTL) is a general purpose library for Fortran 2003"
HOMEPAGE="https://github.com/SCM-NV/ftl"
SRC_URI="https://github.com/SCM-NV/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pcre test"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( pcre )" # Some tests fail if 'pcre' is disabled
RDEPEND="pcre? ( dev-libs/libpcre:3 )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
# Checking of supported fortran standard version is required here
pkg_setup() {
fortran-2_pkg_setup
}
get_platform() {
case $(tc-getFC) in
*gfortran*) echo "gnu" ;;
*ifort*) echo "intel" ;;
*nagfor*) echo "nag" ;;
*) die "Unsupported compiler: $(tc-getFC)" ;;
esac
}
src_prepare() {
default
# Pass LDFLAGS to respect it
sed -i '/SOLDFLAGS =/ s/$/ '"${LDFLAGS}"'/' makefile || die
}
src_configure() {
filter-flags -fpch-preprocess
}
src_compile() {
emake_args=(
FC=$(tc-getFC)
CXX=$(tc-getCXX)
PLATFORM=$(get_platform)
BUILD=custom
USE_PCRE=$(usex pcre true false)
)
emake "${emake_args[@]}"
}
src_test() {
emake_args=(
FC=$(tc-getFC)
CXX=$(tc-getCXX)
PLATFORM=$(get_platform)
BUILD=custom
USE_PCRE=$(usex pcre true false)
)
emake "${emake_args[@]}" test
}
src_install() {
# Set BUILD to custom as default type is debug
emake BUILD=custom DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR=$(get_libdir) install
einstalldocs
}