mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
libcdirectory-20220105.ebuild
This commit is contained in:
parent
3fcad2da3f
commit
7ed231c31c
4 changed files with 120 additions and 0 deletions
2
dev-libs/libcdirectory/Manifest
Normal file
2
dev-libs/libcdirectory/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST libcdirectory-experimental-20200702.tar.gz 974541 BLAKE2B 68231700d1159877e1fe8d5524ef95d8eece3317f391d4bec9b736512b7327b3e94293a64d1ea25dbe0b67d2b346ae911a2071beaf26cd7e2a2412b1ab24bf66 SHA512 2ff0b8b457cfac85c00be51a871b81f18e42797a5724afd7ff472151e4807959cc6ddda15a443c341175df21eff65de86f55202c247c33b39cb8aa2af07978ca
|
||||
DIST libcdirectory-experimental-20220105.tar.gz 1002670 BLAKE2B 408a8e4208f9fc43c3e14ca2a6ecd143eeb13a28517ebd72bf602c88cadc3b0b4166a39b0ccb228f0023dde172a455bb695592fc321357b726e5e5980a290461 SHA512 d587045db38d8313adbf5f3eed0b8971ddb9ae75517c57652557bc05a5c5459092871ebbee4404d910182db23b1163c5a5600171bd743f23cd110a48e5da4df9
|
||||
55
dev-libs/libcdirectory/libcdirectory-20200702.ebuild
Normal file
55
dev-libs/libcdirectory/libcdirectory-20200702.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Library for cross-platform C directory functions"
|
||||
HOMEPAGE="https://github.com/libyal/libcdirectory"
|
||||
SRC_URI="https://github.com/libyal/libcdirectory/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode debug"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libcerror[nls=]
|
||||
dev-libs/libclocale[nls=,unicode=]
|
||||
dev-libs/libuna[nls=,unicode=]
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
#makefile was created with 1.16, let's regenerate it
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable debug verbose-output ) \
|
||||
$(use_enable debug debug-output )
|
||||
|
||||
# --disable-shared-libs disable shared library support
|
||||
# not supported in the ebuild at the moment - kind of defeats the entire process
|
||||
|
||||
# --enable-winapi enable WINAPI support for cross-compilation
|
||||
# [default=auto-detect]
|
||||
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
55
dev-libs/libcdirectory/libcdirectory-20220105.ebuild
Normal file
55
dev-libs/libcdirectory/libcdirectory-20220105.ebuild
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Library for cross-platform C directory functions"
|
||||
HOMEPAGE="https://github.com/libyal/libcdirectory"
|
||||
SRC_URI="https://github.com/libyal/libcdirectory/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode debug"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libcerror[nls=]
|
||||
dev-libs/libclocale[nls=,unicode=]
|
||||
dev-libs/libuna[nls=,unicode=]
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
#makefile was created with 1.16, let's regenerate it
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable debug verbose-output ) \
|
||||
$(use_enable debug debug-output )
|
||||
|
||||
# --disable-shared-libs disable shared library support
|
||||
# not supported in the ebuild at the moment - kind of defeats the entire process
|
||||
|
||||
# --enable-winapi enable WINAPI support for cross-compilation
|
||||
# [default=auto-detect]
|
||||
# not supported in the ebuild at the moment - requires windows.h, does not make much sense for us
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
8
dev-libs/libcdirectory/metadata.xml
Normal file
8
dev-libs/libcdirectory/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