Magellan Linux

Contents of /trunk/extras/irssi/irssi-1.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30682 - (show annotations) (download)
Tue Mar 6 14:01:22 2018 UTC (6 years, 1 month ago) by niro
File size: 1079 byte(s)
auto added: ver bump to 1.1.1-r1
1 # $Id$
2
3 PNAME="irssi"
4 PVER="1.1.1"
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.54
13 >= sys-libs/ncurses-6.0
14 >= dev-libs/openssl-1.1
15 == dev-lang/perl-5.26.1"
16
17 SDEPEND=">= sys-dev/gettext-0.18"
18
19 SRCFILE="${PNAME}-${PVER}.tar.xz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/a/}"
21
22 sminclude perl mbuild
23
24 SRC_URI=(
25 https://github.com/${PNAME}/${PNAME}/releases/download/${PVER}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | grep -v beta | highesttarball xz"
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 }