feat: add ebu library package

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

View File

@ -0,0 +1,2 @@
DIST v4.5.tar.gz 2630073 BLAKE2B ade288fd8c4af47d58e05a2394b2073c08d3e30facf303bf68380b4f079f372048fa0820de147890f649e84fe67740113229ed6c4a5749171a3906b0aa2a9954 SHA512 f18f7c447b4658b5ed2bf6aa90c349b41759bc57feca7d1804aadf10cfd1ba910d1eb0ec518901a5f0dfc58ec3ce6012efe2d2b87933d0f178893682f5813dd8
EBUILD ebu-4.5.ebuild 847 BLAKE2B 4961d5c9ab76480cd4467719c5d157ddd5d183ec503376932bef284981ff1fb2155ff2bf0b8011f8828b479bb612f312be52c6718ddc5b6eefd353c3292c8d66 SHA512 1a2ae523b01391b45818ea424bcb887f4f94155e001f16b6809b620695323b449ac0c7a7eb8e6dddf0ee5dd8b26d434a414e96d82bcfc58125511029171113fd

View File

@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Library for UTF-8-enabled reading of EPWING dictionary files"
HOMEPAGE="http://green.ribbon.to/~ikazuhiro/dic/ebu.html"
SRC_URI="https://github.com/ktkovachev/ebu/archive/refs/tags/v4.5.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+static-libs"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="dev-build/libtool"
src_configure() {
#econf --enable-static
autoconf
#econf \
# $(use_enable static-libs)
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc
}
src_compile() {
emake
}
src_install() {
#emake install
emake DESTDIR="${D}" install
# emake \
# prefix="${D}"/usr \
# mandir="${D}"/usr/share/man \
# infodir="${D}"/usr/share/info \
# libdir="${D}"/usr/$(get_libdir) \
# install
}