blob: 2a5358202e3cf68934f8fba83ca77baff35923e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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.7 2004/09/02 19:58:30 slarti Exp $
inherit gcc flag-o-matic
IRSSI_VERSION="0.8.6"
DESCRIPTION="An irssi plugin to do character set conversions."
SRC_URI="http://irssi.org/files/irssi-${IRSSI_VERSION}.tar.bz2
mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="http://norpan.org"
KEYWORDS="~x86 ~ppc ~amd64"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=dev-libs/glib-1.2
sys-libs/ncurses
>=net-irc/irssi-${IRSSI_VERSION}"
S=${WORKDIR}
src_compile() {
IRSSI="${WORKDIR}/irssi-${IRSSI_VERSION}"
append-flags -fPIC
touch ${IRSSI}/config.h && \
$(gcc-getCC) 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
fperms 755 /usr/lib/irssi/modules/libcharconv.so
dodoc ${FILESDIR}/README
}
|