diff options
author | Kiyoshi Aman <kiyoshi.aman@gmail.com> | 2011-01-16 22:54:10 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-16 17:04:21 -0600 |
commit | 5d92460f48e46cc02089369918bba3a9c74b2e57 (patch) | |
tree | b0459ffa0043c1efcfd0e17b21317018db924b98 /testing | |
parent | 33a1ce2a3e6a52d6d765ff3d6475cfbd53acef53 (diff) | |
download | aports-5d92460f48e46cc02089369918bba3a9c74b2e57.tar.bz2 aports-5d92460f48e46cc02089369918bba3a9c74b2e57.tar.xz |
irssi-0.8.15-r3: Proxy support enabled, shipped via irssi-proxy subpkg.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/irssi/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/irssi/APKBUILD b/testing/irssi/APKBUILD new file mode 100644 index 000000000..505524629 --- /dev/null +++ b/testing/irssi/APKBUILD @@ -0,0 +1,55 @@ +# Maintainer: Kiyoshi Aman <kiyoshi.aman at gmail.com> +pkgname=irssi +pkgver=0.8.15 +pkgrel=3 +pkgdesc="A modular textUI IRC client with IPv6 support" +url="http://irssi.org/" +arch="all" +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 $pkgname-proxy" + +_builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$_builddir" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-perl=module \ + --with-proxy + make || return 1 + make DESTDIR="$pkgdir" install +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +perl() { + depends="$pkgname 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/libfe-perl.* \ + "$pkgdir"/usr/lib/irssi/modules/libperl-core.* "$subpkgdir"/usr/lib/irssi/ + 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 + chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irssi.so + chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irc/Irc.so + 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" |