summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2017-01-10 12:38:32 +1100
committerSam Jorna <wraeth@gentoo.org>2017-01-11 12:49:34 +1100
commit0763aac005c4ecf0183975ddd0c6de852141e411 (patch)
tree8fe489c5d108045b12bf3b8dc0b177705f1e5a64 /net-libs
parentnet-proxy/polipo: remove old (diff)
downloadgentoo-0763aac005c4ecf0183975ddd0c6de852141e411.tar.gz
gentoo-0763aac005c4ecf0183975ddd0c6de852141e411.tar.bz2
gentoo-0763aac005c4ecf0183975ddd0c6de852141e411.zip
net-libs/quasselc: new package to support net-irc/quassel-irssi
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/quasselc/Manifest1
-rw-r--r--net-libs/quasselc/metadata.xml13
-rw-r--r--net-libs/quasselc/quasselc-0_p20150406.ebuild42
3 files changed, 56 insertions, 0 deletions
diff --git a/net-libs/quasselc/Manifest b/net-libs/quasselc/Manifest
new file mode 100644
index 000000000000..06de600ca08e
--- /dev/null
+++ b/net-libs/quasselc/Manifest
@@ -0,0 +1 @@
+DIST quasselc-0_p20150406.zip 35223 SHA256 32d59714958fbe86dfcafec2748b973d30efdcb7c9a6618f7303c0c9f4750ca4 SHA512 625c8c4e0a1bfd82cc081b8662060c069c021cb3b657d9678e424823b8dcda3461b504f54ad49c4f34e6aefc52681a4b03b17e8321d0272a7bf597c5ca5f1e78 WHIRLPOOL d2cb8363f8c18ad95a993394d14e617e6f58813f908fbb3ec786abde5f8a8411243f404be97ef007967fdb8a28a6ac064c2d9b236daa88ddc749b20f5c06bed0
diff --git a/net-libs/quasselc/metadata.xml b/net-libs/quasselc/metadata.xml
new file mode 100644
index 000000000000..09dbfc6cdcd8
--- /dev/null
+++ b/net-libs/quasselc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wraeth@gentoo.org</email>
+ <name>Sam Jorna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">phhusson/QuasselC</remote-id>
+ <bugs-to>https://github.com/phhusson/QuasselC/issues</bugs-to>
+ </upstream>
+ <longdescription lang="en">API to access a Quassel Core in pure C.</longdescription>
+</pkgmetadata>
diff --git a/net-libs/quasselc/quasselc-0_p20150406.ebuild b/net-libs/quasselc/quasselc-0_p20150406.ebuild
new file mode 100644
index 000000000000..f032c912fb22
--- /dev/null
+++ b/net-libs/quasselc/quasselc-0_p20150406.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+# Commit Date: Mon, 6 Apr 2015 22:42:56 +0200
+COMMIT="fcd966966924e3d9af0954db56117e2f48767ea1"
+
+DESCRIPTION="API for accessing Quassel using C"
+HOMEPAGE="https://github.com/phhusson/QuasselC"
+SRC_URI="https://github.com/phhusson/QuasselC/archive/${COMMIT}.zip -> ${PF}.zip"
+
+LICENSE="GPL-3 LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/QuasselC-${COMMIT}"
+
+src_prepare() {
+ default
+
+ # Makefile hardcodes much
+ sed -e '/^CFLAGS/d' -i Makefile || die
+ local includes=$($(tc-getPKG_CONFIG) glib-2.0 --cflags)
+ append-cflags "${includes} -fPIC"
+}
+
+src_compile() {
+ tc-export CC
+ export prefix="${ROOT}usr" libdir="${ROOT}usr/$(get_libdir)"
+ default
+}
+
+src_install() {
+ default
+ dosym "libquasselc.so.0" "/usr/$(get_libdir)/libquasselc.so"
+}