-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-libs/galib: Fix ISO C++17 does not allow register storage class
Closes: #32041 Closes: https://bugs.gentoo.org/898276 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
- Loading branch information
1 parent
3451fcf
commit 8a895d6
Showing
6 changed files
with
45 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST galib-2.4.7-patches.tar.xz 4180 BLAKE2B 3e0f9bc5c7f3289c1839ef5c2151e72079e2ca19a884ce705bc723a379b76185bb5ebc83b5c465f6df2468e5ca8eaf18d3dbbd807ef9af5899f377d83a94535e SHA512 245fc139aed8f09ba39a0a78b0ed21ac6f8c7d33bdffe24f18f53f688beae00353ac0abfa3746ee733ee30efb1fbf4084b553e7a5b647f1a41fd019ab1218c1a | ||
DIST galib247.tgz 374912 BLAKE2B d6f0d757cee9a1c26eb4525862dc2e9761449492edb323ba30ea70cde95b72da2a90fad4a931ab1d07d8bc0fca2b62672357ee790b1e67f3e9b480d5aff26106 SHA512 9c2aca29f24d3f8401ba65c246a0ca7d1fa67e4f756a5258cdb0da111842ea2903c2d70cfd9d60823c9703bcb3415ca670a731924e99878d5536c2f7eb0faba4 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit toolchain-funcs | ||
|
||
MY_PV="${PV//\./}" | ||
|
||
DESCRIPTION="Library for genetic algorithms in C++ programs" | ||
HOMEPAGE="http://lancet.mit.edu/ga/" | ||
SRC_URI=" | ||
http://lancet.mit.edu/ga/dist/galib${MY_PV}.tgz | ||
https://dev.gentoo.org/~soap/distfiles/${P}-patches.tar.xz" | ||
S="${WORKDIR}/${PN}${MY_PV}" | ||
|
||
LICENSE="BSD examples? ( GPL-2 )" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" | ||
IUSE="doc examples" | ||
|
||
PATCHES=( "${WORKDIR}"/patches ) | ||
|
||
src_configure() { | ||
tc-export AR CXX | ||
export LIBDIR="${EPREFIX}"/usr/$(get_libdir) | ||
export INCDIR="${EPREFIX}"/usr/include | ||
} | ||
|
||
src_compile() { | ||
emake lib | ||
emake -C examples clean | ||
} | ||
|
||
src_install() { | ||
use doc && HTML_DOCS=( doc/. ) | ||
if use examples; then | ||
dodoc -r examples | ||
find "${ED}"/usr/share/doc/${PF}/examples -iname 'makefile*' -delete || die | ||
docompress -x /usr/share/doc/${PF}/examples | ||
fi | ||
|
||
default | ||
} |