summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-05-02 15:55:26 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-05-02 15:57:28 +0200
commitb4f6d32c350756661d1db7ebdcc5379cc560b587 (patch)
tree07e58e4d5f8bef32205d9605e1eba93d0fc8fd91 /sci-libs/gklib
parentmedia-gfx/openscad: add notice about Emacs scad-mode (diff)
downloadgentoo-b4f6d32c350756661d1db7ebdcc5379cc560b587.tar.gz
gentoo-b4f6d32c350756661d1db7ebdcc5379cc560b587.tar.bz2
gentoo-b4f6d32c350756661d1db7ebdcc5379cc560b587.zip
sci-libs/gklib: new package, add 5.1.1_p20230327
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs/gklib')
-rw-r--r--sci-libs/gklib/Manifest1
-rw-r--r--sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch13
-rw-r--r--sci-libs/gklib/gklib-5.1.1_p20230327.ebuild21
-rw-r--r--sci-libs/gklib/metadata.xml11
4 files changed, 46 insertions, 0 deletions
diff --git a/sci-libs/gklib/Manifest b/sci-libs/gklib/Manifest
new file mode 100644
index 000000000000..4d3ba01da662
--- /dev/null
+++ b/sci-libs/gklib/Manifest
@@ -0,0 +1 @@
+DIST gklib-5.1.1_p20230327.tar.gz 186266 BLAKE2B f8c8bad20d98717141f748364614bfe95644dbaadf9370f3ad4751eb5a8f1cc7a429b42481af86bbe4df18541366e594d3b8d078305d2154f76928f587af91fc SHA512 128cd9a48047b18b8013288162556f0b0f1d81845f5445f7cc62590ab28c06ee0a6c602cc999ce268ab27237eca3e8295df6432d377e45071946b98558872997
diff --git a/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch b/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch
new file mode 100644
index 000000000000..92fd8024f9a8
--- /dev/null
+++ b/sci-libs/gklib/files/gklib-5.1.1_p20230327-multilib.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9cd1b4b..592b70a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -26,6 +26,6 @@ include_directories("test")
+ add_subdirectory("test")
+
+ install(TARGETS GKlib
+- ARCHIVE DESTINATION lib/${LINSTALL_PATH}
+- LIBRARY DESTINATION lib/${LINSTALL_PATH})
++ ARCHIVE DESTINATION lib${LIB_SUFFIX}/${LINSTALL_PATH}
++ LIBRARY DESTINATION lib${LIB_SUFFIX}/${LINSTALL_PATH})
+ install(FILES ${GKlib_includes} DESTINATION include/${HINSTALL_PATH})
diff --git a/sci-libs/gklib/gklib-5.1.1_p20230327.ebuild b/sci-libs/gklib/gklib-5.1.1_p20230327.ebuild
new file mode 100644
index 000000000000..487afc8fe562
--- /dev/null
+++ b/sci-libs/gklib/gklib-5.1.1_p20230327.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+COMMIT="8bd6bad750b2b0d90800c632cf18e8ee93ad72d7"
+
+DESCRIPTION="Helper routines and frameworks used by KarypisLab software"
+HOMEPAGE="https://github.com/KarypisLab/GKlib"
+SRC_URI="https://github.com/KarypisLab/GKlib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/GKlib-${COMMIT}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}/${P}-multilib.patch"
+)
diff --git a/sci-libs/gklib/metadata.xml b/sci-libs/gklib/metadata.xml
new file mode 100644
index 000000000000..1c83399ced50
--- /dev/null
+++ b/sci-libs/gklib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">KarypisLab/GKlib</remote-id>
+ </upstream>
+</pkgmetadata>