summaryrefslogtreecommitdiff
path: root/dev-libs/liblzw/liblzw-0.3.ebuild
blob: 0d1adf03373776392d6a93d20c3cc0527540a139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

DESCRIPTION="small C library for reading LZW compressed files (.Z)"
HOMEPAGE="https://github.com/vapier/liblzw"
SRC_URI="https://github.com/vapier/liblzw/releases/download/v${PV}/${P}.tar.xz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ~ia64 ~m68k ~s390 x86"
IUSE="static-libs"

src_configure() {
	econf --disable-werror $(use_enable static{-libs,})
}

src_install() {
	default
	find "${D}" -name '*.la' -delete || die
}