net-wireless/desfsh - 1.1.1 (hamari)

Search

Package Information

Description:
An interactive application for accessing Mifare DESFire NFC tags
Homepage:
https://github.com/hamarituc/desfsh

Ebuild Details

Version EAPI Keywords Slot
1.1.1 8 ~amd64 0
View Raw Ebuild
# 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
}

Dependencies

DEPEND

${LUA_DEPS}
	dev-libs/libnfc:=
	dev-libs/openssl:=
	net-wireless/libfreefare:=
	sys-libs/readline:=
	virtual/zlib:=

RDEPEND

${LUA_DEPS}
	dev-libs/libnfc:=
	dev-libs/openssl:=
	net-wireless/libfreefare:=
	sys-libs/readline:=
	virtual/zlib:=

BDEPEND

virtual/pkgconfig

Manifest for 1.1.1

Type File Size Source URLs
DIST desfsh-1.1.1.tar.gz 46888 bytes https://github.com/hamarituc/desfsh/archive/refs/tags/v1.1.1.tar.gz