/[gentoo-x86]/sys-apps/hexdump-esr/hexdump-esr-1.7.ebuild
Gentoo

Contents of /sys-apps/hexdump-esr/hexdump-esr-1.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Sep 25 03:11:29 2012 UTC (23 months, 3 weeks ago) by blueness
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable ppc ppc64, bug #433351

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/hexdump-esr/hexdump-esr-1.7.ebuild,v 1.4 2012/09/23 08:22:45 phajdan.jr Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 MY_P=${P/-esr/}
10
11 DESCRIPTION="Eric Raymond's hex dumper"
12 HOMEPAGE="http://www.catb.org/~esr/hexdump/"
13 SRC_URI="http://www.catb.org/~esr/hexdump/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
18 IUSE=""
19
20 S=${WORKDIR}/${MY_P}
21
22 src_prepare() {
23 sed -i Makefile \
24 -e "s|-O |${CFLAGS} ${LDFLAGS} |g" \
25 || die "sed Makefile"
26 tc-export CC
27 }
28
29 src_install() {
30 newbin hexdump hexdump-esr
31 newman hexdump.1 hexdump-esr.1
32 dodoc README
33 dosym hexdump-esr /usr/bin/hex
34 }

  ViewVC Help
Powered by ViewVC 1.1.20