summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2016-01-10 23:39:18 +0000
committerSven Wegener <swegener@gentoo.org>2016-01-10 23:42:31 +0000
commit75f74c030d4f124314f0325fb5196212daefbba6 (patch)
tree87aa6c94a64931db9b6c5c5a2d3ed47ce5d8476a /dev-embedded
parentnet-misc/putty: Old. (diff)
downloadgentoo-75f74c030d4f124314f0325fb5196212daefbba6.tar.gz
gentoo-75f74c030d4f124314f0325fb5196212daefbba6.tar.bz2
gentoo-75f74c030d4f124314f0325fb5196212daefbba6.zip
dev-embedded/libjaylink: Support static-libs
Signed-off-by: Sven Wegener <swegener@gentoo.org>
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
+}