You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-libs/libedit/libedit-3.1_p20150325.ebuild

58 lines
911 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=1
inherit eutils autotools-multilib
DATE="${PV##*_p}"
MY_PV="${PV%%_*}"
MY_P="${PN}-${DATE}-${MY_PV}"
DESCRIPTION="Port of the NetBSD editline library"
HOMEPAGE="http://thrysoee.dk/editline"
SRC_URI="http://thrysoee.dk/editline/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND="
sys-libs/ncurses:0="
DEPEND="
${RDEPEND}
sys-devel/libtool
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_prepare() {
autotools-multilib_src_prepare
}
multilib_src_configure() {
local myeconfargs=(
--enable-widec
$(use_enable examples)
)
autotools-utils_src_configure
}
src_compile() {
autotools-multilib_src_compile
}
multilib_src_install() {
emake install DESTDIR="${D}"
}
src_install() {
autotools-multilib_src_install
}