| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.2 | 8 | ~amd64 | 0 |
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..4} )
inherit lua-single toolchain-funcs
DESCRIPTION="An interactive application for accessing Mifare DESFire NFC tags"
HOMEPAGE="https://github.com/hamarituc/desfsh"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hamarituc/desfsh.git"
else
SRC_URI="https://github.com/hamarituc/desfsh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}
dev-libs/libnfc:=
dev-libs/openssl:=
net-wireless/libfreefare:=
sys-libs/readline:=
virtual/zlib:=
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile()
{
tc-export CC PKG_CONFIG
emake LUAPKG="${ELUA}" all
}
src_install()
{
dobin desfsh
}
${LUA_DEPS}
dev-libs/libnfc:=
dev-libs/openssl:=
net-wireless/libfreefare:=
sys-libs/readline:=
virtual/zlib:=
${LUA_DEPS}
dev-libs/libnfc:=
dev-libs/openssl:=
net-wireless/libfreefare:=
sys-libs/readline:=
virtual/zlib:=
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | desfsh-1.1.2.tar.gz | 49255 bytes | https://github.com/hamarituc/desfsh/archive/refs/tags/v1.1.2.tar.gz |