This commit is contained in:
Anton Bolshakov 2023-01-27 14:19:23 +08:00
parent 852f74148c
commit dae8b56dfc
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 70 additions and 30 deletions

View file

@ -1,2 +1,2 @@
DIST libcsplit-beta-20190102.tar.gz 500773 BLAKE2B 1f1223c1196b728488da5b1a2ad7f718ef589af4a29e122047952e0b6e321a18feac45a7f5ecf3fa6880d54299286f3b857263e060989ddb04d93571cf4eddeb SHA512 143bd2b8988ee610b92319ba371c871aa1a23a9bb198525bff4f86d330317553889682751c54ec9ddd2d8c8ffd9400fce4ed6c0599a43c092c572591483c0a72
DIST libcsplit-beta-20200703.tar.gz 512309 BLAKE2B 01b4759cac588e5de7113fef281c4009296b2fab60b87e36b5fc086de2900d9f85b1918306322637559d6910af534dfba4e6aaf33e9c5f589f84229c990f9bb5 SHA512 99734e0cb243f640a5283b789bd2fa20a0a34bbf9b0f95fde03bfbb92759970bb4e979f9bb0b46ba856dcd7ccd6843daa5ad143442a72f454ecbfdddcc6df8d7
DIST libcsplit-beta-20220109.tar.gz 513064 BLAKE2B a2104ae95f0b9e836772f602fd76d57484ccc38d455b19198e158e07e105b1b9d2a64d10087611130ad3461501a53a3024a9823ab92a1ebec6f1cc546a3175c2 SHA512 5501b3df7d70e4b1ef32b4791031473352d761a67b84d4ba326dc43139ca14283e6cff5a2ae45496248df820023a90b902a8089211464f96a72486cc53876253

View file

@ -1,23 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Library for cross-platform C split string functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
}

View file

@ -1,23 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
DESCRIPTION="Library for cross-platform C split string functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-beta-${PV}.tar.gz"
HOMEPAGE="https://github.com/libyal/libcsplit"
SRC_URI="https://github.com/libyal/libcsplit/releases/download/${PV}/${PN}-beta-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror"
DEPEND="
dev-libs/libcerror[nls=]
nls? (
virtual/libiconv
virtual/libintl
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
# --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
}

View file

@ -0,0 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Library for cross-platform C split string functions"
HOMEPAGE="https://github.com/libyal/libcsplit"
SRC_URI="https://github.com/libyal/libcsplit/releases/download/${PV}/${PN}-beta-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode"
DEPEND="
dev-libs/libcerror[nls=]
nls? (
virtual/libiconv
virtual/libintl
)
"
RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
# --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
}