Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31784 - (show annotations) (download)
Tue Dec 11 12:29:16 2018 UTC (5 years, 4 months ago) by niro
File size: 885 byte(s)
-run mautoreconf
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_prepare()
31 {
32 munpack ${SRCFILE} || die
33 mautoreconf || die
34 }
35
36 src_compile()
37 {
38 # use libevent as default event lib
39 # optional: tevent, which is used by samba, maybe as split-package
40 mconfigure \
41 --with-glib \
42 --with-libevent \
43 --with-pthread \
44 --without-libev \
45 --without-tevent \
46 || die
47
48 mmake || die
49 }