ebuilds-for-mingw64/app-arch/lzma-recuento/lzma-recuento-0.0.1.ebuild

36 lines
754 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson toolchain-funcs
MY_P="lzma1900"
DESCRIPTION="LZMA Stream Compressor from the SDK"
HOMEPAGE="https://www.7-zip.org/sdk.html"
SRC_URI="mirror://sourceforge/sevenzip/${MY_P}.7z -> ${P}.7z"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc"
BDEPEND="app-arch/p7zip"
S=${WORKDIR}
src_configure() {
cp ${FILESDIR}/meson.build ${S}
rm -rf bin/*.sfx
find -name '*.ico' -exec cp -v "${FILESDIR}/recuento.ico" {} \; || die
meson_src_configure
}
src_compile() {
meson_src_compile
}
src_install() {
meson_src_install
}