dev-libs/ucl - 1.03 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-libs/ucl-1.03

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/ucl-1.03

Or alternatively:

emerge --autounmask-write -a =dev-libs/ucl-1.03

Package Information

Description:
The UCL Compression Library.
Homepage:
https://www.oberhumer.com/opensource/ucl/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.03 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools flag-o-matic

DESCRIPTION="The UCL Compression Library."
HOMEPAGE="https://www.oberhumer.com/opensource/ucl/"
SRC_URI="https://www.oberhumer.com/opensource/ucl/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"

DEPEND="!!dev-libs/libucl"

PATCHES=(
	"${FILESDIR}/${P}-CFLAGS.patch"
	"${FILESDIR}/${P}-x32.patch"
)

src_prepare() {
	default

	# lzo (and ucl) have some weird sort of mfx_* set of autoconf macros
	# which may only be distributed with lzo itself? Rescue them and
	# place them into acinclude.m4 because there doesn't seem to be an
	# m4/...
	sed -n -e '/^AC_DEFUN.*mfx_/,/^])#$/p' aclocal.m4 > acinclude.m4 || die "Unable to rescue mfx_* autoconf macros."

	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die

	eautoreconf
}

src_configure() {
	# bug #585632
	append-cflags -std=c90

	econf \
		--enable-shared \
		"$(use_enable static-libs static)"
}

src_install() {
	default

	find "${ED}" -type f -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/ucl | euse -E <flag> -p dev-libs/ucl | euse -D <flag> -p dev-libs/ucl

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

!!dev-libs/libucl

Manifest for 1.03

Type File Size Source URLs
DIST ucl-1.03.tar.gz 534881 bytes https://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz