Magellan Linux

Contents of /trunk/extras/kvirc/kvirc-3.4.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5334 - (show annotations) (download)
Tue Apr 20 22:00:40 2010 UTC (14 years ago) by niro
File size: 1298 byte(s)
auto added: ver bump to 3.4.2-r1
1 # $Id$
2
3 PNAME="kvirc"
4 PVER="3.4.2"
5 PBUILD="r1"
6
7 PCATEGORIE="net-irc"
8 STATE="unstable"
9
10 DESCRIPTION="KVIrc is a free portable Internet Relay Chat client based on the Qt GUI toolkit."
11 HOMEPAGE="http://www.kvirc.net/"
12
13 DEPEND=">= kde-base/kdelibs-3.5
14 >= x11-libs/qt-3.3
15 >= dev-libs/openssl-0.9.8
16 >= dev-lang/perl-5.10
17 >= media-libs/audiofile-0.2.6"
18
19 SDEPEND=">= dev-lang/nasm-2
20 >= sys-dev/automake-3
21 >= sys-dev/autoconf-5
22 >= kde-base/arts-1.5"
23
24 SRCFILE="${PNAME}-${PVER}.tar.bz2"
25 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26
27 sminclude qt3 kde3
28
29 SRC_URI=(
30 ftp://ftp.kvirc.net/pub/${PNAME}/${PVER}/source/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 )
33
34 # gcc4 doesn't like -pipe -> .LTHUNK0' can't be equated to undefined symbol
35 export CFLAGS="${CFLAGS/-pipe/}"
36 export CXXFLAGS="${CFLAGS}"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # rebuild configure and makefiles
44 ./autogen.sh || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 local myconf
52 [[ ${ARCH} = i*86 ]] && myconf=--with-ix86-asm
53
54 # no esound support anymore
55 myconf+=" --without-esd-support"
56
57 kde3_configure \
58 --enable-ssl \
59 --enable-perl \
60 --with-big-channels \
61 --with-pizza \
62 --with-aa-fonts \
63 --with-qt-library-dir=/usr/$(mlibdir) \
64 --with-kde-library-dir=/usr/$(mlibdir) \
65 ${myconf} \
66 || die
67
68 mmake || die
69 }

Properties

Name Value
svn:keywords Id