]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
irssi: add working 0.8.10 package. Changes cvs bb files to svn repositories used...
authorMika Laitio <lamikr@cc.jyu.fi>
Tue, 21 Nov 2006 22:25:37 +0000 (00:25 +0200)
committerlamikr <lamikr@localhost.(none)>
Tue, 21 Nov 2006 22:25:37 +0000 (00:25 +0200)
org.handhelds.familiar/packages/irssi/irssi_0.8.10.bb [new file with mode: 0644]
org.handhelds.familiar/packages/irssi/irssi_svn.bb [moved from org.handhelds.familiar/packages/irssi/irssi_cvs.bb with 92% similarity]
org.handhelds.familiar/packages/irssi/xirssi_svn.bb [moved from org.handhelds.familiar/packages/irssi/xirssi_cvs.bb with 84% similarity]

diff --git a/org.handhelds.familiar/packages/irssi/irssi_0.8.10.bb b/org.handhelds.familiar/packages/irssi/irssi_0.8.10.bb
new file mode 100644 (file)
index 0000000..729c756
--- /dev/null
@@ -0,0 +1,66 @@
+DESCRIPTION = "Irssi is a modular IRC client with Perl scripting."
+HOMEPAGE = "http://irssi.org/"
+SECTION = "console/network"
+LICENSE = "GPL"
+DEPENDS += "ncurses glib-1.2"
+PR = "r0"
+
+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 \
+          file://autofoo.patch;patch=1"
+
+EXTRA_OECONF = "--enable-ipv6 \
+               --disable-ssl \
+               --disable-glibtest \
+               --without-socks \
+               --with-textui \
+               --without-bot \
+               --without-proxy \
+               --without-glib1 \
+               --with-glib2 \
+               --with-perl=no \
+               --with-glib-prefix=${STAGING_LIBDIR}/.. \
+               --with-glib-exec-prefix=${STAGING_LIBDIR}/.. \
+               --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
+}
similarity index 92%
rename from org.handhelds.familiar/packages/irssi/irssi_cvs.bb
rename to org.handhelds.familiar/packages/irssi/irssi_svn.bb
index 818988d01e2c030396c64cbbd6607ea1a0426e64..4a85e71a5affcffc6fba635c13bf52d13d811e79 100644 (file)
@@ -2,9 +2,8 @@ DESCRIPTION = "Irssi is a modular IRC client with Perl scripting."
 HOMEPAGE = "http://irssi.org/"
 SECTION = "console/network"
 LICENSE = "GPL"
-MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
 DEPENDS += "ncurses glib-1.2"
-PV = "0.8.9+cvs${CVSDATE}"
+PV = "0.8.10+svn${CVSDATE}"
 PR = "r2"
 
 PACKAGES += "${PN}-common"
@@ -14,9 +13,9 @@ RDEPENDS_${PN} += "${PN}-common"
 
 inherit autotools
 
-SRC_URI = "cvs://anonymous:@cvs.irssi.org/home/cvs;module=irssi \
+SRC_URI = "svn://svn.irssi.org/repos/irssi/;module=trunk;proto=http \
           file://autofoo.patch;patch=1"
-S = "${WORKDIR}/irssi"
+S = "${WORKDIR}/trunk"
 
 EXTRA_OECONF = "--enable-ipv6 \
                --disable-ssl \
similarity index 84%
rename from org.handhelds.familiar/packages/irssi/xirssi_cvs.bb
rename to org.handhelds.familiar/packages/irssi/xirssi_svn.bb
index e40d2107dd2a8dfdc955670f5e80c3f85d5e5e3b..c15bdde855a715c14e5deb31d61665412acb77f3 100644 (file)
@@ -10,7 +10,7 @@ PR = "r2"
 
 inherit autotools
 
-SRC_URI = "cvs://anonymous:@cvs.irssi.org/home/cvs;module=xirssi"
+SRC_URI = "svn://svn.irssi.org/repos/xirssi/;module=trunk;proto=http"
 S = "${WORKDIR}/xirssi"
 
 EXTRA_OECONF = "--with-irssi=${STAGING_LIBDIR}/../irssi"