Annotation of /branches/R11-unstable/extras/libgadu/libgadu-1.12.1-r1.smage2
Parent Directory
|
Revision Log
Revision 23659 -
(hide annotations)
(download)
Wed Jul 9 23:53:04 2014 UTC (9 years, 11 months ago) by niro
Original Path: trunk/extras/libgadu/libgadu-1.12.1-r1.smage2
File size: 957 byte(s)
Wed Jul 9 23:53:04 2014 UTC (9 years, 11 months ago) by niro
Original Path: trunk/extras/libgadu/libgadu-1.12.1-r1.smage2
File size: 957 byte(s)
auto added: ver bump to 1.12.1-r1
1 | niro | 23659 | # $Id$ |
2 | |||
3 | PNAME="libgadu" | ||
4 | PVER="1.12.1" | ||
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.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 | } |