mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 06:41:01 +02:00
theHarvester-4.4.3.ebuild
This commit is contained in:
parent
c7cbbb2151
commit
eb8c844bde
3 changed files with 2 additions and 67 deletions
|
|
@ -1,66 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
#CMAKE_MAKEFILE_GENERATOR ?= ninja
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
#CMAKE_VERBOSE=ON
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Linux port of FAR v2"
|
||||
HOMEPAGE="https://github.com/elfmz/far2l/"
|
||||
SRC_URI="https://github.com/elfmz/far2l/archive/refs/tags/v_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+uchardet X +ssh nfs +samba webdav"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/xerces-c
|
||||
uchardet? ( app-i18n/uchardet )
|
||||
dev-util/cmake
|
||||
dev-libs/spdlog
|
||||
|
||||
X? ( x11-libs/wxGTK )
|
||||
webdav? ( net-libs/neon )
|
||||
ssh? ( net-libs/libssh )
|
||||
nfs? ( net-fs/libnfs )
|
||||
samba? ( net-fs/samba )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-v_${PV}"
|
||||
|
||||
src_configure() {
|
||||
#FIXME: more options:
|
||||
# -DPYTHON=yes
|
||||
#ALIGN AUTOWRAP CALC COLORER COMPARE DRAWLINE EDITCASE EDITORCOMP FARFTP
|
||||
#FILECASE INCSRCH INSIDE MULTIARC NETROCKS SIMPLEINDENT TMPPANEL
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DUSEWX=$(usex X yes no)
|
||||
# automatic charset detection
|
||||
-DUSEUCD=$(usex uchardet yes no)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# FIXME: CMakeLists.txt might not support prefix (/usr/) properly
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_askpass
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_sudoapp
|
||||
|
||||
newbin - far <<-EOF
|
||||
#!/bin/sh
|
||||
/usr/bin/far2l "\$@" --tty
|
||||
EOF
|
||||
|
||||
}
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
DIST theHarvester-4.3.0.tar.gz 856342 BLAKE2B 795d8c0d2db459b4e59d637ddcea297c1c3203bb2e34906e10c6b3eb04906ce584fc2d3fd39a75a378ebd467d193d305e2cecbdef11499f426ff3ed6406d142b SHA512 e4602bda5ada973d4985c9abd51a1e7380ba3bfa90dcf1c0627a459b69bba8723e11af1980d43a199a3d861010c5752d176f69fb764488bdb2740f3a284ff7f9
|
||||
DIST theHarvester-4.4.1.tar.gz 861402 BLAKE2B 4c71e0fe2192dba33d561687632be321c63a3b7b8149cfa145b334a7ccedcd33c65ec6179b771ddfbe7727e2792018d1c8ec515110e63b5b831c11303beda115 SHA512 836ab3606a1ce5c062f50fad991455df361fb858df5a2e9329988aef29d4b89c57db892b2c9f6c5aaaa6b51cfcef5a526237a138d61019e6bfdc4ac57049995c
|
||||
DIST theHarvester-4.4.3.tar.gz 862441 BLAKE2B f5e5eece2f1b5ce2dd7c39694f35c6364015cda3d0c458d3cca0bdd022cd071a83b00ed1c87447240fe6cc473ee266ae900399351e8d44a10c5ce2959dbe7761 SHA512 659c4c64482296c1eb1ce07869e6e06e373c89eef13aa3dafa22111510d40fd2b929f255aba3c61bd1d4d9c09d7ba5ecdb7fc84f678fc28c0a67b96a619c4768
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|||
|
||||
# RESTRICT="!test? ( test )"
|
||||
|
||||
# requirements/base.txt
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/aiodns[${PYTHON_USEDEP}]
|
||||
dev-python/aiofiles[${PYTHON_USEDEP}]
|
||||
Loading…
Reference in a new issue