Magellan Linux

Contents of /trunk/extras/libverto/libverto-0.3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31783 - (show annotations) (download)
Tue Dec 11 12:27:55 2018 UTC (5 years, 4 months ago) by niro
File size: 819 byte(s)
auto added: ver bump to 0.3.0-r1
1 # $Id$
2
3 PNAME="libverto"
4 PVER="0.3.0"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="An async event loop abstraction library."
10 HOMEPAGE="https://github.com/latchset/libverto/"
11
12 DEPEND=">= dev-libs/glib2-2.58
13 >= dev-libs/libevent-2.1"
14
15 SDEPEND=">= dev-lang/python-2.7"
16
17 SRCFILE="${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude multilib mbuild
21
22 SRC_URI=(
23 https://github.com/latchset/${PNAME}/archive/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2SEPERATOR='\/'
28 UP2DATE="updatecmd https://github.com/latchset/${PNAME}/releases | highesttarball gz"
29
30 src_compile()
31 {
32 # use libevent as default event lib
33 # optional: tevent, which is used by samba, maybe as split-package
34 mconfigure \
35 --with-glib \
36 --with-libevent \
37 --with-pthread \
38 --without-libev \
39 --without-tevent \
40 || die
41
42 mmake || die
43 }