Magellan Linux

Contents of /trunk/extras/libgadu/libgadu-1.12.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22656 - (show annotations) (download)
Mon Oct 27 15:07:44 2014 UTC (9 years, 7 months ago) by niro
File size: 959 byte(s)
-fixed src_check, use better up2exclude
1 # $Id$
2
3 PNAME="libgadu"
4 PVER="1.12.0"
5 PBUILD="r1"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="A Gadu-gadu protocol compatible communications library."
10 HOMEPAGE="http://toxygen.net/libgadu/"
11
12 DEPEND=">= dev-libs/openssl-1.0.1"
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 --without-gnutls --with-openssl || die
53 mmake || die
54 }