summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/librouteros')
-rw-r--r--net-libs/librouteros/Manifest1
-rw-r--r--net-libs/librouteros/files/disable_werror.patch11
-rw-r--r--net-libs/librouteros/librouteros-1.1.2.ebuild27
-rw-r--r--net-libs/librouteros/metadata.xml13
4 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/librouteros/Manifest b/net-libs/librouteros/Manifest
new file mode 100644
index 000000000000..eec8394178bb
--- /dev/null
+++ b/net-libs/librouteros/Manifest
@@ -0,0 +1 @@
+DIST librouteros-1.1.2.tar.bz2 234942 SHA256 1c58ada1ab70e15bb1490b5a24e54e3baf909554173445f71921558e2c111376
diff --git a/net-libs/librouteros/files/disable_werror.patch b/net-libs/librouteros/files/disable_werror.patch
new file mode 100644
index 000000000000..599e85b74d00
--- /dev/null
+++ b/net-libs/librouteros/files/disable_werror.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.orig 2011-12-30 21:17:04.233158203 +0200
++++ src/Makefile.am 2011-12-30 21:18:42.186354842 +0200
+@@ -1,7 +1,7 @@
+ AUTOMAKE_OPTIONS = foreign no-dependencies
+
+ if COMPILER_IS_GCC
+-AM_CFLAGS = -Wall -Werror
++AM_CFLAGS = -Wall
+ if BUILD_WITH_DEBUG
+ AM_CFLAGS += -Wextra -g -O0
+ endif
diff --git a/net-libs/librouteros/librouteros-1.1.2.ebuild b/net-libs/librouteros/librouteros-1.1.2.ebuild
new file mode 100644
index 000000000000..1145469caff3
--- /dev/null
+++ b/net-libs/librouteros/librouteros-1.1.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit base autotools-utils autotools
+
+DESCRIPTION="Library for accessing MikroTik's RouterOS via its API"
+HOMEPAGE="http://verplant.org/librouteros/"
+SRC_URI="http://verplant.org/librouteros/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug static-libs"
+
+DEPEND="dev-libs/libgcrypt:0"
+RDEPEND="${DEPEND}"
+
+DOCS=(README AUTHORS)
+PATCHES=("${FILESDIR}"/disable_werror.patch)
+
+src_prepare(){
+ base_src_prepare
+ eautoreconf
+}
diff --git a/net-libs/librouteros/metadata.xml b/net-libs/librouteros/metadata.xml
new file mode 100644
index 000000000000..60c7f53239ef
--- /dev/null
+++ b/net-libs/librouteros/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>andreis.vinogradovs@gmail.com</email>
+ <name>Andreis Vinogradovs</name>
+</maintainer>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>