summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irssi-charconv/ChangeLog5
-rw-r--r--net-irc/irssi-charconv/irssi-charconv-1.13.ebuild26
2 files changed, 17 insertions, 14 deletions
diff --git a/net-irc/irssi-charconv/ChangeLog b/net-irc/irssi-charconv/ChangeLog
index 711d8f12514b..e758f8ea9410 100644
--- a/net-irc/irssi-charconv/ChangeLog
+++ b/net-irc/irssi-charconv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/irssi-charconv
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-charconv/ChangeLog,v 1.3 2004/06/24 23:05:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-charconv/ChangeLog,v 1.4 2004/07/24 01:39:26 swegener Exp $
+
+ 24 Jul 2004; Sven Wegener <swegener@gentoo.org> irssi-charconv-1.13.ebuild:
+ Tidied the ebuild.
29 May 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
irssi-charconv-1.13.ebuild:
diff --git a/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild b/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild
index 643b5a7bb8f1..a86eda391446 100644
--- a/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild
+++ b/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild,v 1.3 2004/06/24 23:05:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-charconv/irssi-charconv-1.13.ebuild,v 1.4 2004/07/24 01:39:26 swegener Exp $
+
+inherit gcc flag-o-matic
IRSSI_VERSION="0.8.6"
@@ -14,27 +16,25 @@ LICENSE="GPL-2"
IUSE=""
DEPEND=">=dev-libs/glib-1.2
- sys-libs/ncurses
- net-irc/irssi"
-RDEPEND=""
+ sys-libs/ncurses
+ >=net-irc/irssi-${IRSSI_VERSION}"
-src_unpack() {
- unpack ${A}
-}
+S=${WORKDIR}
src_compile() {
IRSSI="${WORKDIR}/irssi-${IRSSI_VERSION}"
+ append-flags -fPIC
+
touch ${IRSSI}/config.h && \
- gcc ${FILESDIR}/charconv.c -Wall -g -o ${T}/libcharconv.so -shared \
- -I$IRSSI/src -I$IRSSI/src/core -I$IRSSI/src/fe-common/core \
- `glib-config --cflags`
+ $(gcc-getCC) ${FILESDIR}/charconv.c -Wall -g ${CFLAGS} -o ${T}/libcharconv.so -shared \
+ -I$IRSSI/src -I$IRSSI/src/core -I$IRSSI/src/fe-common/core \
+ `glib-config --cflags`
}
src_install() {
- insinto /usr/lib/irssi/modules
- doins ${T}/libcharconv.so
+ exeinto /usr/lib/irssi/modules
+ doexe ${T}/libcharconv.so
dodoc ${FILESDIR}/README
}
-