mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-09 08:52:31 +01:00
Merge pull request #1340 from vwegert/add-liblnk-2
added ebuilds for app-forensics/liblnk from libyal
This commit is contained in:
commit
ebcd8c2cb1
4 changed files with 154 additions and 0 deletions
2
app-forensics/liblnk/Manifest
Normal file
2
app-forensics/liblnk/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST liblnk-alpha-20210417.tar.gz 1576134 BLAKE2B beaaf3b321c7b1f0007b5b8f1cbd8cfe7572e84f813c86a67ef4d03384877ee6370d7e43ba03364e4bdf232301fe36a239abafaeeec93df30efda8870a497f79 SHA512 989e38c041ab26f3b44c90053ab2c9d18d7613bd42a211b14452dbf859204773f1bc131bf34b3b04b2401ee137f640b86f2bf3863a782e8bda74bd3543ed12c1
|
||||
DIST liblnk-alpha-20221023.tar.gz 1616642 BLAKE2B a27439b7dde6a6fb9fda7df6d5bf411e52ee441ecb102481a51a9ba117c2c594ca9db605abc7504629cfacf834f37325522363ddcc2c646047eb226360a7463c SHA512 f61b8f81880ae4a405b47017db5bacfa48ea9054f152cea21d5266ead24f20f8dbc8aae050dbcb062d6cc22ff6698df62625665d562cc2fa7fb7dbd46095eb4e
|
||||
72
app-forensics/liblnk/liblnk-20210417.ebuild
Normal file
72
app-forensics/liblnk/liblnk-20210417.ebuild
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Library and tools to access the Windows Shortcut File (LNK) format"
|
||||
HOMEPAGE="https://github.com/libyal/liblnk"
|
||||
SRC_URI="https://github.com/libyal/liblnk/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode python +threads debug"
|
||||
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
python? ( dev-lang/python:* )
|
||||
app-forensics/libbfio[nls=,unicode=,threads=]
|
||||
dev-libs/libcdata[nls=]
|
||||
dev-libs/libcerror[nls=]
|
||||
dev-libs/libcfile[nls=,unicode=]
|
||||
dev-libs/libclocale[nls=,unicode=]
|
||||
dev-libs/libcnotify[nls=]
|
||||
dev-libs/libcpath[nls=,unicode=]
|
||||
dev-libs/libcsplit[nls=,unicode=]
|
||||
dev-libs/libcthreads[nls=]
|
||||
dev-libs/libfdatetime[nls=]
|
||||
dev-libs/libfguid[nls=]
|
||||
dev-libs/libfole[nls=]
|
||||
dev-libs/libfwps[nls=,threads=,python=]
|
||||
dev-libs/libfwsi[nls=,threads=,python=]
|
||||
dev-libs/libuna[nls=,unicode=]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable debug verbose-output ) \
|
||||
$(use_enable debug debug-output ) \
|
||||
$(use_enable threads multi-threading-support) \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python3) \
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
72
app-forensics/liblnk/liblnk-20221023.ebuild
Normal file
72
app-forensics/liblnk/liblnk-20221023.ebuild
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Library and tools to access the Windows Shortcut File (LNK) format"
|
||||
HOMEPAGE="https://github.com/libyal/liblnk"
|
||||
SRC_URI="https://github.com/libyal/liblnk/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="nls unicode python +threads debug"
|
||||
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
nls? (
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
)
|
||||
python? ( dev-lang/python:* )
|
||||
app-forensics/libbfio[nls=,unicode=,threads=]
|
||||
dev-libs/libcdata[nls=]
|
||||
dev-libs/libcerror[nls=]
|
||||
dev-libs/libcfile[nls=,unicode=]
|
||||
dev-libs/libclocale[nls=,unicode=]
|
||||
dev-libs/libcnotify[nls=]
|
||||
dev-libs/libcpath[nls=,unicode=]
|
||||
dev-libs/libcsplit[nls=,unicode=]
|
||||
dev-libs/libcthreads[nls=]
|
||||
dev-libs/libfdatetime[nls=]
|
||||
dev-libs/libfguid[nls=]
|
||||
dev-libs/libfole[nls=]
|
||||
dev-libs/libfwps[nls=,threads=,python=]
|
||||
dev-libs/libfwsi[nls=,threads=,python=]
|
||||
dev-libs/libuna[nls=,unicode=]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with nls libiconv-prefix) \
|
||||
$(use_with nls libintl-prefix) \
|
||||
$(use_enable unicode wide-character-type) \
|
||||
$(use_enable debug verbose-output ) \
|
||||
$(use_enable debug debug-output ) \
|
||||
$(use_enable threads multi-threading-support) \
|
||||
$(use_enable python) \
|
||||
$(use_enable python python3) \
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
8
app-forensics/liblnk/metadata.xml
Normal file
8
app-forensics/liblnk/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue