summaryrefslogtreecommitdiffstats
path: root/main/irssi
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2011-01-16 23:38:04 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-17 09:28:53 -0600
commit84b5bad075edc260ed966faacba063548d864c36 (patch)
tree6c66874b79b05f2ae317dc3e32006123a2456dde /main/irssi
parent333767b7c36ea0c44af0eec747bf4da010e5bd13 (diff)
downloadaports-84b5bad075edc260ed966faacba063548d864c36.tar.bz2
aports-84b5bad075edc260ed966faacba063548d864c36.tar.xz
irssi-0.8.15-r3: Enables proxy plugin, shipped as a subpkg.
Diffstat (limited to 'main/irssi')
-rw-r--r--main/irssi/APKBUILD21
1 files changed, 15 insertions, 6 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index a422cfca5..71f066717 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,7 +1,7 @@
-# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com>
pkgname=irssi
pkgver=0.8.15
-pkgrel=2
+pkgrel=3
pkgdesc="A modular textUI IRC client with IPv6 support"
url="http://irssi.org/"
arch="all"
@@ -9,7 +9,7 @@ license='GPL'
depends=
makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig"
source="http://irssi.org/files/irssi-${pkgver}.tar.bz2"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-perl"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-perl $pkgname-proxy"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -19,7 +19,8 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --with-perl=module
+ --with-perl=module \
+ --with-proxy
make || return 1
make DESTDIR="$pkgdir" install
}
@@ -34,8 +35,9 @@ perl() {
pkgdesc="Irssi perl support and scripts"
mkdir -p "$subpkgdir"/usr/share/irssi
mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
- mkdir -p "$subpkgdir"/usr/lib/irssi
- mv "$pkgdir"/usr/lib/irssi/modules "$subpkgdir"/usr/lib/irssi/
+ mkdir -p "$subpkgdir"/usr/lib/irssi/modules
+ mv "$pkgdir"/usr/lib/irssi/modules/libfe_perl.* \
+ "$pkgdir"/usr/lib/irssi/modules/libperl_core.* "$subpkgdir"/usr/lib/irssi/modules/
mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
#need write permission when stripping
chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/TextUI/TextUI.so
@@ -44,4 +46,11 @@ perl() {
chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/UI/UI.so
}
+proxy() {
+ depends="$pkgname"
+ pkgdesc="Irssi module for enabling bouncer-like functionality"
+ mkdir -p "$subpkgdir"/usr/lib/irssi/modules
+ mv "$pkgdir"/usr/lib/irssi/modules/libirc_proxy.* "$subpkgdir"/usr/lib/irssi/modules/
+}
+
md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2"