summaryrefslogtreecommitdiff
blob: fe95f2cc4cf9c7ce53d0c163bd47ad356ec4afe3 (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
33
34
35
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

inherit autotools

DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
HOMEPAGE="http://packages.debian.org/posh"
SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="app-arch/xz-utils"

# Tests fails looking for some 'getopts.pl'
RESTRICT="test"

src_prepare() {
	default

	# tarball bundles outdated generated files
	eautoreconf
}

src_configure() {
	local myconf=(
		--exec-prefix=/
	)
	econf "${myconf[@]}"
}