Annotation of /trunk/extras/kvirc/kvirc-3.4.0-r1.smage2
Parent Directory
|
Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1349 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1349 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/kvirc/kvirc-3.4.0-r1.smage2,v 1.3 2008/04/06 18:43:01 niro Exp $ |
2 | |||
3 | PNAME="kvirc" | ||
4 | PVER="3.4.0" | ||
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 | >= media-sound/esound-0.2.38" | ||
24 | |||
25 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
27 | |||
28 | sminclude kde3 | ||
29 | |||
30 | SRC_URI=( | ||
31 | ftp://ftp.kvirc.net/pub/${PNAME}/${PVER}/source/${SRCFILE} | ||
32 | mirror://${PNAME}/${SRCFILE} | ||
33 | ) | ||
34 | |||
35 | # gcc4 doesn't like -pipe -> .LTHUNK0' can't be equated to undefined symbol | ||
36 | export CFLAGS="${CFLAGS/-pipe/}" | ||
37 | export CXXFLAGS="${CFLAGS}" | ||
38 | |||
39 | src_prepare() | ||
40 | { | ||
41 | munpack ${SRCFILE} || die | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | # rebuild configure and makefiles | ||
45 | ./autogen.sh || die | ||
46 | } | ||
47 | |||
48 | src_compile() | ||
49 | { | ||
50 | cd ${SRCDIR} | ||
51 | |||
52 | local myconf | ||
53 | [[ ${ARCH} = i*86 ]] && myconf=--with-ix86-asm | ||
54 | |||
55 | kde3_configure \ | ||
56 | --enable-ssl \ | ||
57 | --enable-perl \ | ||
58 | --with-big-channels \ | ||
59 | --with-pizza \ | ||
60 | --with-aa-fonts \ | ||
61 | --with-qt-library-dir=/usr/$(mlibdir) \ | ||
62 | --with-kde-library-dir=/usr/$(mlibdir) \ | ||
63 | ${myconf} \ | ||
64 | || die | ||
65 | |||
66 | mmake || die | ||
67 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |