gentoo/dev-games/libsmacker/libsmacker-1.2.0_p43.ebuild
Petr Vaněk 5e8d731ea1
dev-games/libsmacker: update HOMEPAGE
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
2025-03-15 22:01:20 +01:00

32 lines
716 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A cross-platform C library for decoding .smk Smacker Video files."
HOMEPAGE="https://libsmacker.sourceforge.net"
SRC_URI="https://sourceforge.net/projects/libsmacker/files/libsmacker-$(ver_cut 1-2)/${P/_p/r}.tar.gz/download -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-$(ver_cut 1-3)"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
src_prepare() {
default
eautoreconf
}
src_install() {
default
insinto /usr/include
doins smacker.h
# No .la files or static libraries
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}