diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /net-misc/pcapfix/pcapfix-1.1.7.ebuild | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'net-misc/pcapfix/pcapfix-1.1.7.ebuild')
-rw-r--r-- | net-misc/pcapfix/pcapfix-1.1.7.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/pcapfix/pcapfix-1.1.7.ebuild b/net-misc/pcapfix/pcapfix-1.1.7.ebuild new file mode 100644 index 000000000000..71f00b4ceb75 --- /dev/null +++ b/net-misc/pcapfix/pcapfix-1.1.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Repair and fix broken pcap files" +HOMEPAGE="https://f00l.de/pcapfix/" +SRC_URI="https://f00l.de/pcapfix/${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.1.7-musl-stdint.patch.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DOCS=( Changelog README ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.7-respect-CFLAGS.patch + "${WORKDIR}"/${PN}-1.1.7-musl-stdint.patch +) + +src_prepare() { + default + + use debug || sed -e 's/DEBUGFLAGS = -g/DEBUGFLAGS =/g' -i Makefile || die +} + +src_configure() { + tc-export CC + + append-lfs-flags +} + +src_install() { + doman pcapfix.1 + dobin pcapfix + einstalldocs +} |