Magellan Linux

Contents of /smage/trunk/extras/libverto/libverto-0.3.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15452 - (show annotations) (download)
Thu Sep 3 13:50:07 2020 UTC (3 years, 7 months ago) by niro
File size: 989 byte(s)
auto added: ver bump to 0.3.1-r1
1 # $Id$
2
3 PNAME="libverto"
4 PVER="0.3.1"
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.64
13 >= dev-libs/libevent-2.1"
14
15 ALX_DEV_DEPEND=">= dev-libs/glib2-dev-2.64
16 >= dev-libs/libevent-dev-2.1"
17
18 SDEPEND=">= dev-lang/python-2.7
19 ${ALX_DEV_DEPEND}"
20
21 SRCFILE="${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude multilib mbuild alx-split
25
26 SRC_URI=(
27 https://github.com/latchset/${PNAME}/archive/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2SEPERATOR='\/'
32 UP2DATE="updatecmd https://github.com/latchset/${PNAME}/releases | highesttarball gz"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 mautoreconf || die
38 }
39
40 src_compile()
41 {
42 # use libevent as default event lib
43 # optional: tevent, which is used by samba, maybe as split-package
44 mconfigure \
45 --with-glib \
46 --with-libevent \
47 --with-pthread \
48 --without-libev \
49 --without-tevent \
50 || die
51
52 mmake || die
53 }