summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/biew/biew-5.7.0.ebuild')
-rw-r--r--dev-util/biew/biew-5.7.0.ebuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-util/biew/biew-5.7.0.ebuild b/dev-util/biew/biew-5.7.0.ebuild
deleted file mode 100644
index 1544f2448494..000000000000
--- a/dev-util/biew/biew-5.7.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-5.7.0.ebuild,v 1.2 2009/08/25 18:40:37 vostorga Exp $
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
-HOMEPAGE="http://biew.sourceforge.net"
-SRC_URI="mirror://sourceforge/biew/${PN}-${PV//./}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gpm"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-
-RDEPEND="gpm? (
- x86? ( sys-libs/gpm )
- amd64? ( app-emulation/emul-linux-x86-baselibs )
- )"
-# biew build only compiles 32-bit binary on amd64, and 32-bit libgpm is in
-# app-emulation/emul-linux-x86-baselibs
-
-S=${WORKDIR}/${PN}-${PV//./}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/biew-570-configure.patch
- epatch "${FILESDIR}"/biew-570-makefile.patch
-}
-
-src_compile() {
- local enable_gpm
-
- if use gpm ; then
- enable_gpm=yes
- else
- enable_gpm=no
- fi
- export _gpm=${enable_gpm}
-
- append-flags -D_GNU_SOURCE
-
- econf --cc="$(tc-getCC)" --ld="$(tc-getCC)" \
- --ar="$(tc-getAR) -rcu" --ranlib="$(tc-getRANLIB)" \
- --enable-debug
- emake HOST_CFLAGS="${CFLAGS}" HOST_LDFLAGS="${LDFLAGS}" \
- || die "make failed"
- for i in doc/*.ru doc/file_id.diz doc/biew_ru.txt doc/biew_en.txt
- do
- if iconv -f cp866 -t utf-8 "$i" > "$i.conv"
- then
- mv "$i.conv" "$i"
- fi
- done
-}
-
-src_install() {
- make install DESTDIR="${D}"
- doman doc/biew.1
- dodoc doc/*.txt doc/*.en doc/*.ru doc/file_id.diz
-}