diff options
Diffstat (limited to 'dev-util/biew')
-rw-r--r-- | dev-util/biew/Manifest | 2 | ||||
-rw-r--r-- | dev-util/biew/biew-6.1.0-r3.ebuild | 43 |
2 files changed, 23 insertions, 22 deletions
diff --git a/dev-util/biew/Manifest b/dev-util/biew/Manifest index 8ca70f56dae6..8eb24aa5a1b5 100644 --- a/dev-util/biew/Manifest +++ b/dev-util/biew/Manifest @@ -2,5 +2,5 @@ AUX biew-610-crash.patch 1254 BLAKE2B daf3918abab9b8e552c968229c77d57658ca925ad8 AUX biew-610-fix_localedep-1.patch 1003 BLAKE2B 6c6d81692a4ed14e1f0a229e31aa2f6432a0f093e8a38a20d523127b3d58838bc45c5d63332615460c3fca0ec1048d10d534b5b9d2cf8e3eaf15909fc64f6deb SHA512 d141df509fda58d2044fc8488bb73eca8b908fa33dd0449724475d8e6109e186d67245506c4af3100d24378d51866367da1b09bffbb664e91ff79f6bde7e68eb AUX biew-610-portable_configure-1.patch 4932 BLAKE2B 077f437ef02e20220c6f18b0baa472a73fc8de070b292e2ad5f75bbcd95616da110c3d723d42ac206eaa87d39500a43c893d623126dcf254e03ddb414bccfa06 SHA512 cce6564e9d65b6f8c6c4a8dba1919dcfffbc22641ddfcb4fdf1bcab45d56b437dedbee328c86426c1b821b57b923e3d8cc97fdcf140662deb794f64e29c6847c DIST biew-610-src.tar.bz2 860517 BLAKE2B 23ccb5e17dc3d99c6eeb303ad26a9779faa5a648208e0a7291b7f120f492db80f0995449ca2e6982de73543cbc7d9210c3f56077eeffceef46e4ea17cb838b5a SHA512 df8d3c10c30e30db1bc5fdba73601a148f7a1480e69a3d03a02ec303534f37db9c5a9eb7ac087d8f1d8cc64d4a0f6e11548c5b385e132e3a981a6f328e3b5742 -EBUILD biew-6.1.0-r3.ebuild 1737 BLAKE2B 9d0dea71af9358332d8e1f97583022c03ece983d6bdb9a51c5b6837003dfc64d11c05ea6e458da42cc23d83467d54f34008a18042e58a03ee0cdf49d3b7915f7 SHA512 17c0f8d50d00c1eb9a90ca1527737cf4728401c94845baba5c71cde5f1f095e4cadf2088ed2b939f6e3b4540718246e4c1ca3f2eac50f421cbf5b29e02c604f5 +EBUILD biew-6.1.0-r3.ebuild 1627 BLAKE2B c2b6a35c6517bbf62dfaf7794f06ba9c0301aad072085a55aa213dc81caaf78dd23c1269c8dfd4b49df0e538f86e1c94da0c07e515603631969e62f3b7f2ebeb SHA512 71c25c26d400a4a56a69b01d6edf8656f9246cd1b431ef801b70ecf76c539bef44b47eae12c1f404a33474d270acd527e05a21ac1eb7cd0bfb3be3f7b45b416b MISC metadata.xml 246 BLAKE2B c5d8540757618167d38a747711d69e9925b7995bf91d3b4ff4346829c594a7afd2fe4c8c0238d8c8e5da8a04cc92f375844e274a5c512a886f27e8036799df87 SHA512 3c9dd96ae51ac3ae8a9970a3b4ac250984a4d3f63a1f70132120c842f7229e8f67ffc2f2055995cd8580d429537eb91f6c8e3f98348a097b27669698edd1be78 diff --git a/dev-util/biew/biew-6.1.0-r3.ebuild b/dev-util/biew/biew-6.1.0-r3.ebuild index d35ab26a9595..9c225d4a5e54 100644 --- a/dev-util/biew/biew-6.1.0-r3.ebuild +++ b/dev-util/biew/biew-6.1.0-r3.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit eutils flag-o-matic toolchain-funcs versionator +EAPI=7 -MY_P=${PN}-$(replace_all_version_separators "") +inherit flag-o-matic toolchain-funcs + +MY_P=${PN}-$(ver_rs 1- "") DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes" HOMEPAGE="http://beye.sourceforge.net/" SRC_URI="mirror://sourceforge/beye/${PV}/${MY_P}-src.tar.bz2" -S=${WORKDIR}/${MY_P} LICENSE="GPL-2" SLOT="0" @@ -20,30 +20,31 @@ REQUIRED_USE="cpu_flags_x86_mmx cpu_flags_x86_sse" RDEPEND="gpm? ( sys-libs/gpm )" DEPEND="${RDEPEND}" -pkg_setup() { - append-flags -mmmx -msse #362043 -} +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-610-fix_localedep-1.patch + "${FILESDIR}"/${PN}-610-portable_configure-1.patch + "${FILESDIR}"/${PN}-610-crash.patch +) src_prepare() { - epatch "${FILESDIR}/${PN}-610-fix_localedep-1.patch" - epatch "${FILESDIR}/${PN}-610-portable_configure-1.patch" - epatch "${FILESDIR}/${PN}-610-crash.patch" - sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile || die "Failed to edit makefile." + default + sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile || die } src_configure() { - if use gpm; then - append-cppflags -DHAVE_MOUSE - else - append-cppflags -UHAVE_MOUSE - fi - ./configure --datadir=/usr/share/${PN} \ - --prefix=/usr \ + append-flags -mmmx -msse #362043 + append-cppflags $(usex gpm -DHAVE_MOUSE -UHAVE_MOUSE) + + ./configure \ + --datadir="${EPREFIX}"/usr/share/${PN} \ + --prefix="${EPREFIX}"/usr \ --cc="$(tc-getCC)" \ --ld="$(tc-getCC)" \ --ar="$(tc-getAR) -rcu" \ --as="$(tc-getAS)" \ - --ranlib="$(tc-getRANLIB)" || die "configure failed." + --ranlib="$(tc-getRANLIB)" || die "configure failed" } src_compile() { @@ -51,7 +52,7 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install + default dodoc doc/{biew_en,release,unix}.txt } |