Magellan Linux

Annotation of /branches/R11-stable/extras/irssi/irssi-0.8.15-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20835 - (hide annotations) (download)
Tue Feb 11 09:56:34 2014 UTC (10 years, 3 months ago) by niro
File size: 997 byte(s)
-release branches/R11-stable
1 niro 20690 # $Id$
2    
3     PNAME="irssi"
4     PVER="0.8.15"
5     PBUILD="r7"
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.36
13     >= sys-libs/ncurses-5.9
14     >= dev-libs/openssl-1.0.1
15     == dev-lang/perl-5.18.2"
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     }