1 DESCRIPTION = "Irssi is a modular IRC client with Perl scripting."
2 HOMEPAGE = "http://irssi.org/"
3 SECTION = "console/network"
5 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
6 DEPENDS = "ncurses glib-2.0"
7 PV = "0.8.9+cvs${CVSDATE}"
12 SRC_URI = "cvs://anonymous:@cvs.irssi.org/home/cvs;module=irssi \
13 file://autofoo.patch;patch=1"
14 S = "${WORKDIR}/irssi"
16 EXTRA_OECONF = "--enable-ipv6 \
26 --with-glib-prefix=${STAGING_LIBDIR}/.. \
27 --with-glib-exec-prefix=${STAGING_LIBDIR}/.. \
28 --with-ncurses=${STAGING_LIBDIR}/.."
32 echo "Creating help files..."
35 files=`echo docs/help/in/*.in|sed -e 's,docs/help/in/Makefile.in ,,' -e 's,docs/help/in/,!,g' -e 's/\.in /.in ?/g'`
36 cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am
38 files=`echo $files|sed 's/\.in//g'`
39 cat docs/help/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/Makefile.am
41 # .html -> .txt with lynx
42 # echo "Documentation: html -> txt..."
43 # lynx -dump -nolist docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt
45 autotools_do_configure
49 find . -name \*.h | for h in `cat`; do
50 install -d ${STAGING_LIBDIR}/../irssi/`dirname $h`
51 install -m 0644 $h ${STAGING_LIBDIR}/../irssi/$h
53 find . -name lib\*.a | for l in `cat`; do
54 install -d ${STAGING_LIBDIR}/../irssi/`dirname $l`
55 install -m 0644 $l ${STAGING_LIBDIR}/../irssi/$l
57 install -m 0644 irssi-config ${STAGING_LIBDIR}/../irssi/