Contents of /branches/R11-unstable/extras/irssi/irssi-0.8.17-r1.smage2
Parent Directory | Revision Log
Revision 25328 -
(show annotations)
(download)
Tue Nov 25 03:27:08 2014 UTC (9 years, 10 months ago) by niro
File size: 1013 byte(s)
Tue Nov 25 03:27:08 2014 UTC (9 years, 10 months ago) by niro
File size: 1013 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="irssi" |
4 | PVER="0.8.17" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="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.42 |
13 | >= sys-libs/ncurses-5.9 |
14 | >= dev-libs/openssl-1.0.1 |
15 | == dev-lang/perl-5.20.1" |
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}files | grep -v -- -rc | highesttarball" |
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 | } |