feat: add ebclient package

This commit is contained in:
Kiril Kovachev 2025-05-23 14:36:48 +01:00
parent 85b40e41ec
commit ec24018e1d
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST v1.0.tar.gz 115165 BLAKE2B 2d04ac88f278f8f5e7adb4274b5fe815ddb7b75e792f10884b2498e4997d174dc6806236701bc321824e84058df14f31551c4bd42abea1e1093cf8b469b99779 SHA512 955976f0b11cb338c9c5c0b9e1b6d7deea77ecb074342a9ef2bd5d4da29a292fc7e1cc76eb325f9be6f43a87814493d0ce23ea27ccdc32e421d3e05f9ee28537
EBUILD ebclient-1.0.ebuild 774 BLAKE2B b25e0489067712d5da7a7cc0ccc2e1ff4562c2a0ef17d988081f83436c34f3e0ba55f392287ca34b3cb549e0a6182b37324724b2f150dc603e096d4e1e326782 SHA512 40b808d0f5a6576be398f3022409b6317b5e3cc1dce9bf8a5cf7f326802a61f0855276badf4eed5af62c3f3a0b1e0c4338241fe919fcc95f9f248925ddc024b9

View File

@ -0,0 +1,28 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Simple program for reading EPWING dictionaries"
HOMEPAGE="https://github.com/sagan/ebclient"
SRC_URI="https://github.com/ktkovachev/ebclient/archive/refs/tags/v1.0.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+static-libs"
DEPEND="dev-libs/ebu dev-libs/mxml[static-libs] sys-libs/zlib[static-libs]"
RDEPEND="${DEPEND}"
BDEPEND="dev-build/libtool"
src_compile() {
cd src
sed -e "s/mxml/mxml4/" Makefile -i || die "unable to patch mxml library path!"
emake
}
src_install() {
mkdir -p "${D}"/usr/bin/ || die "unable to create install directory!"
install src/ebclient "${D}"/usr/bin/ebclient || die "couldn't install!"
}