/[gentoo-x86]/dev-util/gperf/gperf-3.0.4.ebuild
Gentoo

Diff of /dev-util/gperf/gperf-3.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-util/gperf/gperf-3.0.4.ebuild,v 1.15 2013/02/23 01:46:32 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/gperf/gperf-3.0.4.ebuild,v 1.16 2013/05/26 23:27:42 vapier Exp $
4 4
5EAPI="3" 5EAPI="4"
6
7inherit toolchain-funcs
6 8
7DESCRIPTION="A perfect hash function generator" 9DESCRIPTION="A perfect hash function generator"
8HOMEPAGE="http://www.gnu.org/software/gperf/gperf.html" 10HOMEPAGE="http://www.gnu.org/software/gperf/gperf.html"
9SRC_URI="mirror://gnu/gperf/${P}.tar.gz" 11SRC_URI="mirror://gnu/gperf/${P}.tar.gz"
10 12
11LICENSE="GPL-2" 13LICENSE="GPL-2"
12SLOT="0" 14SLOT="0"
13KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" 15KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14IUSE="" 16IUSE=""
15 17
16src_install() { 18src_prepare() {
17 emake DESTDIR="${D}" htmldir="${EPREFIX}"/usr/share/doc/${PF}/html install || die 19 sed -i \
18 dodoc AUTHORS ChangeLog NEWS README 20 -e "/^AR /s:=.*:= $(tc-getAR):" \
21 -e "/^CPPFLAGS /s:=:+=:" \
22 */Makefile.in || die #444078
19} 23}
24
25src_configure() {
26 econf --htmldir='$(datarootdir)/doc/'"${PF}/html"
27}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20