25 lines
535 B
Bash
25 lines
535 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=4
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Free rar unpacker for old (pre v3) rar files"
|
|
HOMEPAGE="http://home.gna.org/unrar/"
|
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DOCS="AUTHORS README"
|
|
|
|
S=${WORKDIR}/${PN/-gpl}
|
|
|
|
src_prepare() {
|
|
sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
|
|
eautoreconf
|
|
}
|
|
src_configure() { econf --program-suffix="-gpl"; }
|