Magellan Linux

Contents of /branches/magellan-next/extras/irssi/irssi-0.8.15-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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