diff options
author | Phil Blundell <philb@gnu.org> | 2009-06-10 13:38:50 +0100 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-06-10 13:38:50 +0100 |
commit | d302cb3796aea6f77e3a32ae2e5d6c807ddbbcd0 (patch) | |
tree | 419fb77d3d46f4f114eed6fff699d925ac17f734 /recipes/irssi | |
parent | 7bde76df2e108a7ab597691cdb47b26fecc10cae (diff) | |
parent | 0399441c0781eb912d6c375533fd60c69573809e (diff) |
Merge branch 'org.openembedded.dev' of git@new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/irssi')
-rw-r--r-- | recipes/irssi/irssi_0.8.13.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/recipes/irssi/irssi_0.8.13.bb b/recipes/irssi/irssi_0.8.13.bb new file mode 100644 index 0000000000..9091ddc4bf --- /dev/null +++ b/recipes/irssi/irssi_0.8.13.bb @@ -0,0 +1,61 @@ +DESCRIPTION = "Irssi is a modular IRC client with Perl scripting." +HOMEPAGE = "http://irssi.org/" +SECTION = "console/network" +LICENSE = "GPL" +DEPENDS += "ncurses glib-2.0" + +PACKAGES += "${PN}-common" +FILES_${PN} = "${bindir}/irssi" +FILES_${PN}-common = "${datadir}/irssi ${sysconfdir}" +RDEPENDS_${PN} += "${PN}-common" + +inherit autotools + +SRC_URI = "http://www.irssi.org/files/${P}.tar.bz2 \ +" + +EXTRA_OECONF = "--enable-ipv6 \ + --disable-ssl \ + --disable-glibtest \ + --without-socks \ + --with-textui \ + --without-bot \ + --without-proxy \ + --with-perl=no \ + --with-ncurses=${STAGING_LIBDIR}/.." + +do_configure () { + # create help files + echo "Creating help files..." + perl syntax.pl + + 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'` + cat docs/help/in/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/in/Makefile.am + + files=`echo $files|sed 's/\.in//g'` + cat docs/help/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!?' '\t\n' > docs/help/Makefile.am + + # .HTML -> .txt with lynx + # echo "Documentation: html -> txt..." + # 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 + > docs/faq.txt + + autotools_do_configure +} + +do_stage () { + find . -name \*.h | for h in `cat`; do + install -d ${STAGING_LIBDIR}/../irssi/`dirname $h` + install -m 0644 $h ${STAGING_LIBDIR}/../irssi/$h + done + find . -name lib\*.a | for l in `cat`; do + install -d ${STAGING_LIBDIR}/../irssi/`dirname $l` + install -m 0644 $l ${STAGING_LIBDIR}/../irssi/$l + done + install -m 0644 irssi-config ${STAGING_LIBDIR}/../irssi/ +} + +do_install () { + autotools_do_install + rm -f ${D}${docdir}/irssi/faq.txt +} |