summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libserialport')
-rw-r--r--dev-libs/libserialport/Manifest1
-rw-r--r--dev-libs/libserialport/libserialport-0.1.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/libserialport/Manifest b/dev-libs/libserialport/Manifest
index 1b9c23bbdfd..31bc622b30b 100644
--- a/dev-libs/libserialport/Manifest
+++ b/dev-libs/libserialport/Manifest
@@ -1 +1,2 @@
DIST libserialport-0.1.0.tar.gz 382395 SHA256 ec905bd64bd8b82234b68a5eded5fd79b67704fe0cd73bf092666b9679a319af SHA512 9ec0f33aa0f3c72c47c82cb565ee850968eda04ef5d046551a0ecce2938b7528266aed37022fa1e14698d9f0e969b5b049e86c4a8012e43426379ef02e1d0b3f WHIRLPOOL ad6e92528ed2b5518d62305673259ec952461d0fa57c7557ce08cb5bddb06b20c80c309fc3b59f54c73f06fa82d7a3166d8abeeb49b198898694cd9b0ddad2a5
+DIST libserialport-0.1.1.tar.gz 405251 SHA256 4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d SHA512 7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85 WHIRLPOOL 1dd4db30de12edf9c604fa3e70b0d643f940acf75d029e0ce92727e83b566cba1fca062e25ca379398b8351391e4b99b6942d35829883ba1faea2372c5be98ad
diff --git a/dev-libs/libserialport/libserialport-0.1.1.ebuild b/dev-libs/libserialport/libserialport-0.1.1.ebuild
new file mode 100644
index 00000000000..88a9f51ed9b
--- /dev/null
+++ b/dev-libs/libserialport/libserialport-0.1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://sigrok.org/${PN}"
+ inherit git-r3 autotools
+else
+ SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Cross platform serial port access library"
+HOMEPAGE="http://sigrok.org/wiki/Libserialport"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ [[ ${PV} == "9999" ]] && eautoreconf
+ eapply_user
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}