diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/irssi | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/irssi')
-rw-r--r-- | main/irssi/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD new file mode 100644 index 0000000000..bdb3c16c92 --- /dev/null +++ b/main/irssi/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Carlo Landmeter <clandmeter at gmail.com> +pkgname=irssi +pkgver=0.8.13 +#_pkgver=0.8.13-rc1 +pkgrel=0 +pkgdesc="A modular textUI IRC client with IPv6 support" +url="http://irssi.org/" +license='GPL' +depends="glib ncurses ncurses-terminfo openssl" +makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig g++" +source="http://irssi.org/files/irssi-${pkgver}.tar.bz2" +subpackages="$pkgname-doc $pkgname-dev $pkgname-perl" + +build() { + cd "$srcdir/$pkgname-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-perl=module + make || return 1 + make DESTDIR="$pkgdir" install +} + +perl() { + depends="$pkgname perl" + 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/ + mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/ +} + +md5sums="0d6fc2203832b514eff014fffd574664 irssi-0.8.13.tar.bz2" |