1 DESCRIPTION
= "Irssi is a modular IRC client with Perl scripting."
2 HOMEPAGE
= "http://irssi.org/"
3 SECTION
= "console/network"
5 DEPENDS
+= "ncurses glib-2.0"
8 PACKAGES
+= "${PN}-common"
9 FILES_$
{PN
} = "${bindir}/irssi"
10 FILES_$
{PN
}-common
= "${datadir}/irssi ${sysconfdir}"
11 RDEPENDS_$
{PN
} += "${PN}-common"
15 SRC_URI
= "http://www.irssi.org/files/${P}.tar.bz2 \
18 EXTRA_OECONF
= "--enable-ipv6 \
28 --with-glib-prefix=${STAGING_LIBDIR}/.. \
29 --with-glib-exec-prefix=${STAGING_LIBDIR}/.. \
30 --with-ncurses=${STAGING_LIBDIR}/.."
34 echo
"Creating help files..."
37 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'`
38 cat docs
/help
/in
/Makefile.am.gen|sed
"s/@HELPFILES@/$files/g"|sed 's
/?
/\\?
/g'|tr '
!?' '
\t\n'
> docs
/help
/in
/Makefile.am
40 files
=`echo $files|sed 's
/\.in
//g'`
41 cat docs
/help
/Makefile.am.gen|sed
"s/@HELPFILES@/$files/g"|sed 's
/?
/\\?
/g'|tr '
!?' '
\t\n'
> docs
/help
/Makefile.am
43 # .HTML
-> .txt with lynx
44 # echo
"Documentation: html -> txt..."
45 # 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
48 autotools_do_configure
52 find .
-name \
*.h |
for h in `cat`
; do
53 install
-d $
{STAGING_LIBDIR
}/..
/irssi
/`dirname $h`
54 install
-m
0644 $h $
{STAGING_LIBDIR
}/..
/irssi
/$h
56 find .
-name lib\
*.a |
for l in `cat`
; do
57 install
-d $
{STAGING_LIBDIR
}/..
/irssi
/`dirname $l`
58 install
-m
0644 $l $
{STAGING_LIBDIR
}/..
/irssi
/$l
60 install
-m
0644 irssi
-config $
{STAGING_LIBDIR
}/..
/irssi
/
65 rm
-f $
{D
}$
{docdir
}/irssi
/faq.txt
68 SRC_URI
[md5sum
] = "4b83d4047670eb75bd14ae1bdd68dc38"
69 SRC_URI
[sha256sum
] = "47344b444d78ad5965eb40cc4c8df8450fdc54135e2b058710ee8c500b958d6c"