blob: cb5fc6ce7b7cfc6dfd12043f9b5940cb6f4120c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gengetopt/gengetopt-2.22.6.ebuild,v 1.1 2012/11/24 13:11:04 radhermit Exp $
EAPI=5
inherit eutils autotools
DESCRIPTION="A tool to write command line option parsing code for C programs"
HOMEPAGE="http://www.gnu.org/software/gengetopt/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
epatch "${FILESDIR}"/${P}-no-docs.patch
epatch "${FILESDIR}"/${P}-docdirs.patch
eautoreconf
}
src_configure() {
econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
default
docompress -x /usr/share/doc/${PF}/examples
}
|