mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
Merge pull request #1327 from vwegert/add-libfmos-2
added ebuilds for dev-libs/libfmos from libyal
This commit is contained in:
commit
405f6a3b2e
3 changed files with 68 additions and 0 deletions
1
dev-libs/libfmos/Manifest
Normal file
1
dev-libs/libfmos/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST libfmos-experimental-20220811.tar.gz 674181 BLAKE2B 98f0207fdbca0ecb38dbb1366a1524628f7f31a83676c550d1905a916595192a632f475697fbf24c6871cd33d964dd5bf5162b67d95eecb6e8492208058bac55 SHA512 35223fda21053e8b98d63f95ec843391640199a1ab9fda4afee6a2c4159a5b9c9bf433e75d3e2ed131d49e9414dff77496ff46044e2c31456b08279c0bcd6736
|
||||
59
dev-libs/libfmos/libfmos-20220811.ebuild
Normal file
59
dev-libs/libfmos/libfmos-20220811.ebuild
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Library for Mac OS data types"
|
||||
HOMEPAGE="https://github.com/libyal/libfmos"
|
||||
SRC_URI="https://github.com/libyal/libfmos/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls python +threads debug"
|
||||
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
python? ( dev-lang/python:* )
|
||||
dev-libs/libcerror[nls=]
|
||||
dev-libs/libcnotify[nls=]
|
||||
dev-libs/libcthreads[nls=]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable debug verbose-output ) \
|
||||
$(use_enable debug debug-output ) \
|
||||
$(use_enable threads multi-threading-support) \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python3) \
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
8
dev-libs/libfmos/metadata.xml
Normal file
8
dev-libs/libfmos/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue