summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2003-11-22 01:27:10 +0000
committerChuck Short <zul@gentoo.org>2003-11-22 01:27:10 +0000
commit2edaf844970dc7bf15deed31007366fe921b391e (patch)
tree76fdd031384d8fa292a2c24eef5a6303b481924a /net-irc/irssi-recode/irssi-recode-1.5.ebuild
parentNew version, closes 34020. (diff)
downloadgentoo-2-2edaf844970dc7bf15deed31007366fe921b391e.tar.gz
gentoo-2-2edaf844970dc7bf15deed31007366fe921b391e.tar.bz2
gentoo-2-2edaf844970dc7bf15deed31007366fe921b391e.zip
New version, closes 34020.
Diffstat (limited to 'net-irc/irssi-recode/irssi-recode-1.5.ebuild')
-rw-r--r--net-irc/irssi-recode/irssi-recode-1.5.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-irc/irssi-recode/irssi-recode-1.5.ebuild b/net-irc/irssi-recode/irssi-recode-1.5.ebuild
new file mode 100644
index 000000000000..27eb2a57741b
--- /dev/null
+++ b/net-irc/irssi-recode/irssi-recode-1.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-recode/irssi-recode-1.5.ebuild,v 1.1 2003/11/22 01:27:02 zul Exp $
+
+IRSSI="0.8.6"
+
+DESCRIPTION="A third party character set converting module for the Irssi IRC client"
+SRC_URI="http://irssi.org/files/irssi-${IRSSI}.tar.bz2"
+HOMEPAGE="http://lefort.be.eu.org/irssi/"
+
+DEPEND=">=net-irc/irssi-${IRSSI}
+ >=dev-libs/glib-2.0"
+RDEPEND=""
+#Irssi needs to be compiled with glib-2
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
+
+src_compile() {
+ touch ${WORKDIR}/irssi-${IRSSI}/config.h &&
+ gcc -g -shared -DHAVE_CONFIG_H -I${WORKDIR}/irssi-${IRSSI} -I${WORKDIR}/irssi-${IRSSI}/src \
+ -I${WORKDIR}/irssi-${IRSSI}/src/core -I${WORKDIR}/irssi-${IRSSI}/src/fe-common/core \
+ `pkg-config --cflags glib-2.0` -o ${T}/librecode.so ${FILESDIR}/recode.c || die
+}
+
+src_install() {
+ insinto /usr/lib/irssi/modules
+ doins ${T}/librecode.so
+}
+
+pkg_postinst() {
+einfo ""
+einfo "Type /load recode in Irssi to load this module."
+einfo "See ${FILESDIR}/recode.c for more information."
+einfo ""
+}