Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15450 - (hide annotations) (download)
Thu Sep 3 13:44:05 2020 UTC (3 years, 8 months ago) by niro
File size: 885 byte(s)
auto added: ver bump to 0.3.1-r1
1 niro 15450 # $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     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     }