Magellan Linux

Contents of /branches/R11-stable/extras/libgadu/libgadu-1.12.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22910 - (show annotations) (download)
Tue Oct 28 09:11:51 2014 UTC (9 years, 6 months ago) by niro
File size: 957 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libgadu"
4 PVER="1.12.0"
5 PBUILD="r2"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="A Gadu-gadu protocol compatible communications library."
10 HOMEPAGE="http://toxygen.net/libgadu/"
11
12 DEPEND=">= app-crypt/gnutls-3.3"
13
14 SDEPEND=">= virtual/sed"
15
16 if mqueryfeature "check"
17 then
18 SDEPEND+="
19 >= dev-libs/expat-2.1
20 >= net-misc/curl-7
21 >= dev-libs/libxml2-2.9"
22 fi
23
24 SRCFILE="${PNAME}-${PVER}.tar.gz"
25 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26
27 sminclude mbuild
28
29 SRC_URI=(
30 http://github.com/wojtekka/${PNAME}/releases/download/${PVER}/${SRCFILE}
31 mirror://${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${PNAME}-${PVER}-tests.patch
33 )
34
35 # exclude rc versions
36 UP2EXCLUDE="-rc"
37 UP2DATE="updatecmd ${HOMEPAGE} | highesttarball gz"
38
39 src_prepare()
40 {
41 munpack ${SRCFILE} || die
42 cd ${SRCDIR}
43
44 # fix broken test
45 mpatch ${PNAME}-${PVER}-tests.patch || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure --enable-shared --with-pthread --with-gnutls --without-openssl || die
53 mmake || die
54 }