Magellan Linux

Annotation of /branches/R11-unstable/extras/irssi/irssi-0.8.17-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22459 - (hide annotations) (download)
Mon Oct 20 10:30:42 2014 UTC (9 years, 11 months ago) by niro
Original Path: trunk/extras/irssi/irssi-0.8.17-r1.smage2
File size: 1013 byte(s)
auto added: ver bump to 0.8.17-r1
1 niro 22459 # $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     }