Contents of /branches/magellan-next/extras/irssi/irssi-0.8.15-r2.smage2
Parent Directory | Revision Log
Revision 9060 -
(show annotations)
(download)
Tue Oct 4 14:40:31 2011 UTC (12 years, 11 months ago) by niro
File size: 1001 byte(s)
Tue Oct 4 14:40:31 2011 UTC (12 years, 11 months ago) by niro
File size: 1001 byte(s)
-rebuild against newer perl
1 | # $Id$ |
2 | |
3 | PNAME="irssi" |
4 | PVER="0.8.15" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="net-irc" |
8 | |
9 | DESCRIPTION="Irssi is a modular IRC client for UNIX that currently has only text mode user interface." |
10 | HOMEPAGE="http://www.irssi.org/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.28 |
13 | >= sys-libs/ncurses-5.9 |
14 | >= dev-libs/openssl-1.0.0 |
15 | >= dev-lang/perl-5.14" |
16 | |
17 | SDEPEND=">= sys-dev/gettext-0.18" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/a/}" |
21 | |
22 | sminclude perl mbuild |
23 | |
24 | SRC_URI=( |
25 | http://irssi.org/files/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd ${HOMEPAGE}download | firsttarball" |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | mconfigure \ |
36 | --with-proxy \ |
37 | --with-ncurses \ |
38 | --with-perl-lib=vendor \ |
39 | --enable-nls \ |
40 | --enable-ipv6 \ |
41 | --enable-ssl \ |
42 | || die |
43 | |
44 | mmake || die |
45 | } |
46 | |
47 | src_install() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | mmake DESTDIR=${BINDIR} \ |
52 | docdir=/usr/share/doc/${PNAME}-${PVER} \ |
53 | gnulocaledir=${BINDIR}/usr/share/locale \ |
54 | install || die |
55 | |
56 | minstalldocs AUTHORS ChangeLog COPYING NEWS README TODO || die |
57 | } |