diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-02-21 09:46:24 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-02-21 09:46:24 +0000 |
commit | a5fcdf6de6e812002a32a820e57679891d4d8a2a (patch) | |
tree | 5ed674fa9f6b2a1a95e52841f4b3898792607f9b /dev-util/biew | |
parent | Stable on amd64 wrt bug #306109 (diff) | |
download | gentoo-2-a5fcdf6de6e812002a32a820e57679891d4d8a2a.tar.gz gentoo-2-a5fcdf6de6e812002a32a820e57679891d4d8a2a.tar.bz2 gentoo-2-a5fcdf6de6e812002a32a820e57679891d4d8a2a.zip |
Bump for #305809
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/biew')
-rw-r--r-- | dev-util/biew/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/biew/biew-6.1.0.ebuild | 57 |
2 files changed, 64 insertions, 2 deletions
diff --git a/dev-util/biew/ChangeLog b/dev-util/biew/ChangeLog index ded01b64f654..0d51d2590b47 100644 --- a/dev-util/biew/ChangeLog +++ b/dev-util/biew/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/biew -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.25 2009/08/25 18:40:37 vostorga Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.26 2010/02/21 09:46:24 patrick Exp $ + +*biew-6.1.0 (21 Feb 2010) + + 21 Feb 2010; Patrick Lauer <patrick@gentoo.org> +biew-6.1.0.ebuild: + Bump for #305809 25 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> biew-5.7.0.ebuild, +files/biew-570-configure.patch, -files/biew-570-configure-gpm.patch, diff --git a/dev-util/biew/biew-6.1.0.ebuild b/dev-util/biew/biew-6.1.0.ebuild new file mode 100644 index 000000000000..6578abb81119 --- /dev/null +++ b/dev-util/biew/biew-6.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-6.1.0.ebuild,v 1.1 2010/02/21 09:46:24 patrick 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/project/beye/biew/${PV}/${PN}-${PV//./}-src.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_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 +} |