Contents of /trunk/extras/libgadu/libgadu-1.12.2-r1.smage2
Parent Directory | Revision Log
Revision 28906 -
(show annotations)
(download)
Thu May 11 09:12:46 2017 UTC (7 years, 4 months ago) by niro
File size: 955 byte(s)
Thu May 11 09:12:46 2017 UTC (7 years, 4 months ago) by niro
File size: 955 byte(s)
auto added: ver bump to 1.12.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="libgadu" |
4 | PVER="1.12.2" |
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=">= app-crypt/gnutls-3.5" |
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}-1.12.0-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}-1.12.0-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 | } |