summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libjaylink/libjaylink-9999.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-embedded/libjaylink/libjaylink-9999.ebuild b/dev-embedded/libjaylink/libjaylink-9999.ebuild
index b2f376bf2f0c..74d37a678b8b 100644
--- a/dev-embedded/libjaylink/libjaylink-9999.ebuild
+++ b/dev-embedded/libjaylink/libjaylink-9999.ebuild
@@ -6,7 +6,7 @@ EAPI="5"
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"
@@ -14,7 +14,7 @@ HOMEPAGE="http://git.zapb.de/libjaylink.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="static-libs"
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
@@ -22,3 +22,12 @@ RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf || die
}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}