diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild')
-rw-r--r-- | app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild b/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild new file mode 100644 index 000000000000..fb18f5b349bd --- /dev/null +++ b/app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs vcs-snapshot + +COMMIT="8f47670dd582c96ad1b6dd3c9b9da0acebded5d8" + +DESCRIPTION="A tool to dump and debug bootable CD-like images" +HOMEPAGE="https://github.com/rhboot/dumpet" +SRC_URI="https://github.com/rhboot/dumpet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +#Restrict tests since required test file is unavailable +RESTRICT="test" + +RDEPEND="dev-libs/libxml2 + dev-libs/popt" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-util/valgrind )" + +PATCHES=( "${FILESDIR}"/musl-byteswap-fix.patch ) + +src_prepare() { + sed -i Makefile \ + -e "s/^install : all$/install :/" \ + -e "s/^CFLAGS:=/CFLAGS?=/" \ + -e "s/^CC:=/CC?=/" \ + || die + default +} + +src_compile() { + emake CFLAGS="${CFLAGS}" dumpet +} + +pkg_setup() { + tc-export CC +} |