summaryrefslogtreecommitdiff
path: root/net-irc/eiwic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-irc/eiwic
reinit the tree, so we can have metadata
Diffstat (limited to 'net-irc/eiwic')
-rw-r--r--net-irc/eiwic/Manifest6
-rw-r--r--net-irc/eiwic/eiwic-1.1.4.ebuild46
-rw-r--r--net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch13
-rw-r--r--net-irc/eiwic/metadata.xml13
4 files changed, 78 insertions, 0 deletions
diff --git a/net-irc/eiwic/Manifest b/net-irc/eiwic/Manifest
new file mode 100644
index 000000000000..5f366530c702
--- /dev/null
+++ b/net-irc/eiwic/Manifest
@@ -0,0 +1,6 @@
+AUX eiwic-1.1.3-ldflags.patch 648 SHA256 2ed6b18abd4003df0b5fd698f53e7d31d3627ee6fecd6da757e30aee093c2345 SHA512 1baa5f4ef8481b7401379140a5c68faffd25ba94bfef827794209358214bf43374ef729ebfe40182f6dfae698785923f5f426546701c48be2df73aa9c91d16a6 WHIRLPOOL b82622a863edf7ff373946b366e837d3425fa7928bc3b81fccdf76127e3de1d210ccde5987b1dcdddfeb58910881514c0f6ca7f59df67be79509a875a8dd4bf2
+DIST eiwic-1.1.4.tar.gz 117593 SHA256 6a49a859e46548f8ed005ed3c6338c64cc6725a08c32e5bbd075f8eee1eec800 SHA512 f4c6ac9853df2d26803bd3acd0987f6f4445ef0020a2e02b695eb362043f985eec8440ea9875c282e4f070e89b3ce7357947b99f86461a3bddef8cb2a85f8ce1 WHIRLPOOL f5147847f2884734ffcf90f532d0dd49ed96430dd7e76d223543fde30b8779db51a31314ea699ff132b7c8f773482850babe2be375b020fb914dfa9bf4ec1774
+EBUILD eiwic-1.1.4.ebuild 953 SHA256 b3f672bd164a58aa9a0bdb7313c0675c4b5c987d6f130cfa45997630646d63ad SHA512 907f6985139257de574b1155180307ee07622282fd4a89c70f01de459fe2273c55553322eaae2dcb3f23969b45eb5159d5beac0dc232bc2d6ba83d754fe2ce15 WHIRLPOOL ea62ca1f3b133cd883642a0240a003d9c98355e7be0ce35eb4d174d6fa936cb3bdd06713b0ed0b787e2afea91502e9303b7aab1f05fb859b548d4b83bac7cf39
+MISC ChangeLog 2324 SHA256 de03dc6f123a107af99f3f594f1393c4acfca0507a5236291aae94f0f646a9e3 SHA512 346ce442480f7217e4a3af6d386f5006461fa7a9b4a051feb166ad7007d055f610937f09f0cfa4ae0e8f86e4965c04e979ed529a66e4f41ea625bca660eed5b2 WHIRLPOOL a2ef38e4e77e349e489dcf921366092ed1c67f6e66484f1f7b0c9dd10f03dc485a87f057a1c3b7c6428e967212fc738307dc3fdee274994d89a695f6a091d859
+MISC ChangeLog-2015 1488 SHA256 5a9686ccf12bedac44b9795ea77863fda92a00084c973596f643a08f6e6b36e2 SHA512 0bea7a63d2f727bcb6c7a67fc3b047d516ca0cfb75acbaabb0e65a4f9a06c6781daa5ff1d21866a130b9b95da761848a1b1e1491406da4e8b8f7f79e4ca0b51a WHIRLPOOL e2b4bf5c0ce8c71f036dad053dbd3e7a89ad135418b7de9541c5ad300b2e4c5df812b568820a984439b7c358d2896e0dcd8f4bd50435e43e795b7f8511f15c97
+MISC metadata.xml 553 SHA256 55ceb6d1e2d15f944638b834f944f7b6908197d0b90583b40f00ce7902225133 SHA512 536fb40b8189b0ecb230bb202f10e514396dca5c88b3f3f99a4f302343a3b046d9e1e39bc63905b3ae529f45ebb3db0a44d9b602186fe2dd545b42762e33d052 WHIRLPOOL 81118696372c89b6b3a50ffc10837d873bfa70515d15fc7b1c47bebaad56266461f685398c61988724c25908e0187577fbcf44266f1e066e5a62ba3c12ebc3cc
diff --git a/net-irc/eiwic/eiwic-1.1.4.ebuild b/net-irc/eiwic/eiwic-1.1.4.ebuild
new file mode 100644
index 000000000000..e8a0f598cfc9
--- /dev/null
+++ b/net-irc/eiwic/eiwic-1.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+WANT_AUTOMAKE=1.10
+inherit autotools eutils multilib
+
+DESCRIPTION="A modular IRC bot written in C"
+HOMEPAGE="https://github.com/lordi/Eiwic"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug doc ipv6"
+
+DOCS="AUTHORS ChangeLog README NEWS TODO sample.conf"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1.3-ldflags.patch
+
+ sed -i \
+ -e "/^set MODULE_PATH/s:modules:/usr/$(get_libdir)/eiwic:" \
+ -e "/^load MODULE/s:$:.so:" \
+ sample.conf || die
+
+ eautoreconf
+}
+
+src_configure() {
+ export ac_cv_lib_raptor_raptor_init=no #409417
+
+ econf \
+ $(use_enable debug vv-debug) \
+ $(use_enable ipv6)
+}
+
+src_install() {
+ default
+ use doc && dohtml doc/*
+}
+
+pkg_postinst() {
+ elog "You need a configuration file to run eiwic. A sample configuration"
+ elog "was installed to /usr/share/doc/${PF}"
+}
diff --git a/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch b/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch
new file mode 100644
index 000000000000..2870dc4f322b
--- /dev/null
+++ b/net-irc/eiwic/files/eiwic-1.1.3-ldflags.patch
@@ -0,0 +1,13 @@
+--- modules/Makefile.am
++++ modules/Makefile.am
+@@ -15,8 +15,8 @@
+ echo "$@ skipped."; \
+ else :;\
+ if test $(patsubst %.so,%.c, $@) -nt $@ -o ! -e $@; then \
+- echo "@CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
+- @CC@ @CFLAGS@ $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
++ echo "@CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@"; \
++ @CC@ @CFLAGS@ $(LDFLAGS) $(DEFS) $(INCLUDES) `$(ADD_BUILD_FLAGS)` -shared -fPIC $(patsubst %.so,%.c, $@) -o $@; \
+ else :; fi; \
+ fi
+
diff --git a/net-irc/eiwic/metadata.xml b/net-irc/eiwic/metadata.xml
new file mode 100644
index 000000000000..c5c6f524c9e9
--- /dev/null
+++ b/net-irc/eiwic/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ Eiwic is an IRC-bot written in pure C. It can be easily extended by own modules,
+ that can be loaded at runtime. It has an module API which is designed to make
+ the creation of own modules as easy as possible. Including "output routing",
+ TCP/IP socket interface and timer functions.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">lordi/Eiwic</remote-id>
+ </upstream>
+</pkgmetadata>