diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-02-24 19:01:51 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-02-24 19:01:51 +0000 |
commit | 67bf238ac254f3d52ec5c7cf287f555a02043a42 (patch) | |
tree | d9f0ac3eb7cac1c97f00b06ece7f2088e0ea5b29 /dev-util/biew | |
parent | x86 stable, bug #210013 (diff) | |
download | historical-67bf238ac254f3d52ec5c7cf287f555a02043a42.tar.gz historical-67bf238ac254f3d52ec5c7cf287f555a02043a42.tar.bz2 historical-67bf238ac254f3d52ec5c7cf287f555a02043a42.zip |
Fix bug #210702.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-util/biew')
-rw-r--r-- | dev-util/biew/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/biew/Manifest | 13 | ||||
-rw-r--r-- | dev-util/biew/biew-5.6.2-r1.ebuild | 75 |
3 files changed, 93 insertions, 2 deletions
diff --git a/dev-util/biew/ChangeLog b/dev-util/biew/ChangeLog index d1cb8630dc6c..9ee10f8c8da5 100644 --- a/dev-util/biew/ChangeLog +++ b/dev-util/biew/ChangeLog @@ -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. diff --git a/dev-util/biew/Manifest b/dev-util/biew/Manifest index 87cfb51dc978..a5730fbd7ae8 100644 --- a/dev-util/biew/Manifest +++ b/dev-util/biew/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX biew-562-lvalue-casts.patch 5531 RMD160 fd994fa1c4104023b1644a5a8cb53adbafe4b7cf SHA1 b579bbfc6fb8e3a6d8e572e6dc5b16caf7597415 SHA256 1a9090cd036ee0c32d4e36a8db6fd10238e6011d0daf579041a3079912dad5c3 DIST biew562.tar.bz2 594367 RMD160 413f2c72a70056adbebd5e79d541201d6e3b27cb SHA1 44435c0815a59d38c9a6c74d09c0f495e71e23fe SHA256 82263fdd9f9854a9326889b8d4e138c0dba3f08460922d4683f659873313e46a +EBUILD biew-5.6.2-r1.ebuild 1658 RMD160 a43f660c30ff0923d6c5989c4edb0ed71a8a1b3e SHA1 5b134c5bb50dd6f05a0c173bf9e0cb8e44805d77 SHA256 18d96adb9c5d602fc6a6536c182a900673c63921b2a40d318adecaa59d8b6707 EBUILD biew-5.6.2.ebuild 1555 RMD160 ad7c69643c772863741c8d18042b03043856a3f2 SHA1 6a5099cc03f7e54ee76ea2456d0e984ffaa32d79 SHA256 91590f47083f4d6d23761c79e22f719c4c1a9fd18104ab57906e19819525023f -MISC ChangeLog 2488 RMD160 f4ed9672a0e55e701650de887ea0d620675b79dd SHA1 d9dac608482070297398f6e8da39ed959412af54 SHA256 e467ca4361e883d02e1ebd470fd1ee7fae50a2da20fb7c12c6352d59546f465e +MISC ChangeLog 2616 RMD160 97dc5e2786a503da7f31bd7428cf899acc4a4089 SHA1 77b6440ce19110586b5d84d19edafcc6bf742bbd SHA256 46860a4d9501672e8f3edc5846065a10db87ca09039cafb36cdbc5b3877bad99 MISC metadata.xml 255 RMD160 399f78e98260d4f311124e71c6d294e368a76976 SHA1 61f663af9ea0cb4967a12878352e65b095dcd473 SHA256 b2dfe92cb4cae7ec4ecb4af91e94b9aa507a3c8214af32f75cf44f6011a13cc5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHwb8pchej4aZK9/cRAlavAJ9Z9k3mO+QNr6bGOgDAHwzTlSa66wCeJjI8 +kQuvjS0yFFcA3QyMpz6oZGE= +=R6Ro +-----END PGP SIGNATURE----- diff --git a/dev-util/biew/biew-5.6.2-r1.ebuild b/dev-util/biew/biew-5.6.2-r1.ebuild new file mode 100644 index 000000000000..eae81eb304e3 --- /dev/null +++ b/dev-util/biew/biew-5.6.2-r1.ebuild @@ -0,0 +1,75 @@ +# 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/* +} |