mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
sci-mathematics/libpotassco: new package, add 0_pre20200612
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sci-mathematics/libpotassco/Manifest
Normal file
1
sci-mathematics/libpotassco/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST libpotassco-0_pre20200612.tar.gz 210167 BLAKE2B 2e7e91674458e28b7d2208b200c5db9f4dace7871a239ebc85fa07d70aee9fa22bf48a41f601ac85b7d083bd62750a08eb98255373a77cb1406dd4b451c42aa4 SHA512 649cc07a2fcdea98ece9a3515e2ccc451e8fb6046642be1a8cd09919e100cf215376703690430ae58b8f5d9dab53b4e0bc4b0f3b19e4ff16bd0b62bfe20404fd
|
||||
30
sci-mathematics/libpotassco/libpotassco-0_pre20200612.ebuild
Normal file
30
sci-mathematics/libpotassco/libpotassco-0_pre20200612.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
COMMIT="2f2b80feac1e35cbe1cae986c44dbb20d4151c74"
|
||||
|
||||
DESCRIPTION="A utility library used by various potassco projects"
|
||||
HOMEPAGE="https://github.com/potassco/libpotassco"
|
||||
SRC_URI="https://github.com/potassco/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test tools"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_POTASSCO_BUILD_TESTS=$(usex test)
|
||||
-DLIB_POTASSCO_BUILD_APP=$(usex tools)
|
||||
-DLIB_POTASSCO_INSTALL_LIB=ON
|
||||
-DLIB_POTASSCO_INSTALL_VERSIONED=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
15
sci-mathematics/libpotassco/metadata.xml
Normal file
15
sci-mathematics/libpotassco/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="tools">whether or not to build lpconvert tool</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/potassco/libpotassco/issues</bugs-to>
|
||||
<remote-id type="github">potassco/libpotassco</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user