Signed-off-by: Sven Wegener <swegener@gentoo.org>
EGIT_REPO_URI="git://git.zapb.de/libjaylink.git"
-inherit git-r3 autotools
+inherit git-r3 autotools eutils
DESCRIPTION="Library to access J-Link devices"
HOMEPAGE="http://git.zapb.de/libjaylink.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="static-libs"
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf || die
}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}