public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/biew: ChangeLog biew-5.6.2-r1.ebuild
@ 2008-02-24 19:01 Michael Januszewski (spock)
  0 siblings, 0 replies; only message in thread
From: Michael Januszewski (spock) @ 2008-02-24 19:01 UTC (permalink / raw
  To: gentoo-commits

spock       08/02/24 19:01:51

  Modified:             ChangeLog
  Added:                biew-5.6.2-r1.ebuild
  Log:
  Fix bug #210702.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.21                 dev-util/biew/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/biew/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/biew/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/biew/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	9 Feb 2008 11:05:31 -0000	1.20
+++ ChangeLog	24 Feb 2008 19:01:51 -0000	1.21
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/biew
 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.20 2008/02/09 11:05:31 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.21 2008/02/24 19:01:51 spock Exp $
+
+*biew-5.6.2-r1 (24 Feb 2008)
+
+  24 Feb 2008; MichaƂ Januszewski <spock@gentoo.org> +biew-5.6.2-r1.ebuild:
+  Fix bug #210702.
 
   09 Feb 2008; Samuli Suominen <drac@gentoo.org> biew-5.6.2.ebuild:
   Fix biew to work with slang 2.1.3.



1.1                  dev-util/biew/biew-5.6.2-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/biew/biew-5.6.2-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/biew/biew-5.6.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: biew-5.6.2-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-5.6.2-r1.ebuild,v 1.1 2008/02/24 19:01:51 spock Exp $

inherit 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="slang ncurses gpm"

DEPEND="gpm? ( sys-libs/gpm )
	ncurses? ( >=sys-libs/ncurses-5.3 )
	slang? ( >=sys-libs/slang-1.4 )"

S=${WORKDIR}/${PN}-${PV//./}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/biew-562-lvalue-casts.patch

	local mouse

	if use gpm; then
		mouse=y
	else
		mouse=n
	fi

	sed -i "s/USE_MOUSE=.*/USE_MOUSE=${mouse}/" makefile
	sed -i 's:/usr/local:/usr:' biewlib/sysdep/generic/unix/os_dep.c
	sed -i "s/CFLAGS += -O2 -fomit-frame-pointer/CFLAGS +=/" makefile.inc
	sed -i 's/bool/__bool/g' plugins/bin/ne.c
#	sed -i "s/TARGET_OS=.*/TARGET_OS=linux/" makefile

	# disable inline assembly for non-x86 platforms
	use x86 || sed -i "s/TARGET_PLATFORM=.*/TARGET_PLATFORM=generic/" makefile
}

src_compile() {
	local scrnlib

	if use ncurses ; then
		scrnlib="ncurses"
	elif use slang ; then
		scrnlib="slang"
	else
		scrnlib="vt100"
	fi

	filter-flags -fPIC

	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/*
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-24 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24 19:01 [gentoo-commits] gentoo-x86 commit in dev-util/biew: ChangeLog biew-5.6.2-r1.ebuild Michael Januszewski (spock)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox