30 lines
691 B
Bash
30 lines
691 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-1.88-r1.ebuild,v 1.1 2012/03/26 11:55:44 jer Exp $
|
|
|
|
EAPI=4
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="unit conversion program"
|
|
HOMEPAGE="http://www.gnu.org/software/units/units.html"
|
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
>=sys-libs/readline-4.1-r2
|
|
>=sys-libs/ncurses-5.2-r3
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
src_configure() {
|
|
econf --datadir=/usr/share/${PN}
|
|
}
|
|
|
|
src_install() {
|
|
emake -j1 DESTDIR="${D}" install
|
|
dodoc ChangeLog NEWS README
|
|
}
|