summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2004-02-12 11:27:20 +0000
committerMichael Januszewski <spock@gentoo.org>2004-02-12 11:27:20 +0000
commit483459437bb3cc2df05aa92b99784c367f67c4cb (patch)
tree0bf5f84a7274baedb4665afeb435e76d0e78bad0 /dev-util/biew
parentGOTOFF during linking seems to fail to recognize where main() is because it i... (diff)
downloadhistorical-483459437bb3cc2df05aa92b99784c367f67c4cb.tar.gz
historical-483459437bb3cc2df05aa92b99784c367f67c4cb.tar.bz2
historical-483459437bb3cc2df05aa92b99784c367f67c4cb.zip
Initial commit.
Diffstat (limited to 'dev-util/biew')
-rw-r--r--dev-util/biew/ChangeLog11
-rw-r--r--dev-util/biew/Manifest4
-rw-r--r--dev-util/biew/biew-5.5.0.ebuild60
-rw-r--r--dev-util/biew/files/digest-biew-5.5.01
-rw-r--r--dev-util/biew/metadata.xml9
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-util/biew/ChangeLog b/dev-util/biew/ChangeLog
new file mode 100644
index 000000000000..c9f30008f7bc
--- /dev/null
+++ b/dev-util/biew/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-util/biew
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.1 2004/02/12 11:27:20 spock Exp $
+
+*biew-5.5.0 (12 Feb 2004)
+
+ 12 Feb 2004; Michal Januszewski <spock@gentoo.org> biew-5.5.0.ebuild,
+ metadata.xml:
+ Initial commit, closes #41027. Thanks to Daniel Fullmer <lsmod@hotmail.com>
+ for the original ebuild.
+
diff --git a/dev-util/biew/Manifest b/dev-util/biew/Manifest
new file mode 100644
index 000000000000..65acdcff27f0
--- /dev/null
+++ b/dev-util/biew/Manifest
@@ -0,0 +1,4 @@
+MD5 8eb6965bc4a94befeacc262d824f31f1 ChangeLog 428
+MD5 d94d306da3804e41296e1bf04c7c9cae metadata.xml 255
+MD5 f323eab1a7b0ba411c462813aae33208 biew-5.5.0.ebuild 1388
+MD5 46d0b7c47f51672d499caa48f725a199 files/digest-biew-5.5.0 61
diff --git a/dev-util/biew/biew-5.5.0.ebuild b/dev-util/biew/biew-5.5.0.ebuild
new file mode 100644
index 000000000000..96e792285598
--- /dev/null
+++ b/dev-util/biew/biew-5.5.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-5.5.0.ebuild,v 1.1 2004/02/12 11:27:20 spock Exp $
+
+IUSE="slang ncurses"
+
+DESCRIPTION="A multiplatform portable viewer of binary files with built-in editor in binary, hexadecimal and disassembler modes."
+HOMEPAGE="http://biew.sourceforge.net/"
+SRC_URI="mirror://sourceforge/biew/${PN}-550.tar.bz2"
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+
+DEPEND="ncurses? ( >=sys-libs/ncurses-5.3 )
+ slang? ( >=sys-libs/slang-1.4.9 )"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}-550"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i "s/USE_MOUSE=.*/USE_MOUSE=y/" makefile
+ sed -i 's:/usr/local:/usr:' biewlib/sysdep/generic/unix/os_dep.c
+ sed -i "s/CFLAGS += -O2 -fomit-frame-pointer -DNDEBUG=1/CFLAGS +=/" makefile.inc
+# sed -i "s/TARGET_OS=.*/TARGET_OS=linux/" makefile
+}
+
+src_compile() {
+ cd ${S}
+
+ local scrnlib
+
+ if [ `use ncurses` ] ; then
+ scrnlib="ncurses"
+ elif [ `use slang` ] ; then
+ scrnlib="slang"
+ else
+ scrnlib="vt100"
+ fi
+
+ emake HOST_CFLAGS="${CFLAGS}" \
+ TARGET_SCREEN_LIB=${scrnlib} || die
+}
+
+src_install() {
+ dobin biew
+ dodoc doc/*.txt
+
+ insinto /usr/lib/biew
+ doins bin_rc/biew.hlp
+ doins bin_rc/skn/standard.skn
+
+ insinto /usr/lib/biew/skn
+ doins bin_rc/skn/*
+
+ insinto /usr/lib/biew/xlt
+ doins bin_rc/xlt/*
+}
diff --git a/dev-util/biew/files/digest-biew-5.5.0 b/dev-util/biew/files/digest-biew-5.5.0
new file mode 100644
index 000000000000..9c04590aac4a
--- /dev/null
+++ b/dev-util/biew/files/digest-biew-5.5.0
@@ -0,0 +1 @@
+MD5 e24de24e56900b00420ee882305c9167 biew-550.tar.bz2 526883
diff --git a/dev-util/biew/metadata.xml b/dev-util/biew/metadata.xml
new file mode 100644
index 000000000000..daa8053eefc4
--- /dev/null
+++ b/dev-util/biew/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>spock@gentoo.org</email>
+ <name>Michal Januszewski</name>
+</maintainer>
+</pkgmetadata>