irssi: uses ncursesw, make perl support into a subpkg.

--HG--
extra : convert_revision : cf23357b16a204f51eaa33143fbef69ad15cfd1a
This commit is contained in:
Juan RP 2010-02-20 02:58:37 +01:00
parent 55db28ce1e
commit 2433e8662c
4 changed files with 43 additions and 5 deletions

1
srcpkgs/irssi-perl Symbolic link
View File

@ -0,0 +1 @@
irssi

View File

@ -5,6 +5,13 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run perl
Add_dependency run pkg-config
Add_dependency run glib-devel
Add_dependency run openssl-devel
Add_dependency run ncursesw-devel
Add_dependency run irssi
do_install()

View File

@ -0,0 +1,23 @@
# Template file for 'irssi-perl'.
#
short_desc="${sourcepkg} perl support"
long_desc="${long_desc}
This package contains the modules to enable perl support with the
irssi package, and related perl scripts included."
Add_dependency run perl
Add_dependency run irssi
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/irssi/modules
mkdir -p ${DESTDIR}/usr/share/irssi
mv ${SRCPKGDESTDIR}/usr/lib/perl5 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/irssi/modules/*perl* \
${DESTDIR}/usr/lib/irssi/modules
mv ${SRCPKGDESTDIR}/usr/share/irssi/scripts \
${DESTDIR}/usr/share/irssi
}

View File

@ -1,8 +1,9 @@
# Template build file for 'irssi'
pkgname=irssi
version=0.8.14
revision=1
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
configure_args="--with-proxy"
configure_args="--with-proxy --with-perl=module"
build_style=gnu_configure
short_desc="Secure and modular IRC client with text mode user interface"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -15,14 +16,20 @@ long_desc="
protocols like ICQ could be created some day too."
conf_files="/etc/irssi.conf"
subpackages="$pkgname-devel"
subpackages="irssi-devel irssi-perl"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run openssl
Add_dependency run ncurses-libs
Add_dependency full perl
Add_dependency run ncursesw
Add_dependency build perl
Add_dependency build pkg-config
Add_dependency build glib-devel
Add_dependency build openssl-devel
Add_dependency build ncurses-devel
Add_dependency build ncursesw-devel
pre_configure()
{
sed -i -e "s|/usr/include/ncurses|/usr/include/ncursesw|g" \
-e "s|-lncurses|-lncursesw|g" ${wrksrc}/configure
}