Contents of /smage/trunk/extras/libverto/libverto-0.3.1-r1.smage2
Parent Directory | Revision Log
Revision 15451 -
(show annotations)
(download)
Thu Sep 3 13:49:35 2020 UTC (3 years, 7 months ago) by niro
File size: 970 byte(s)
Thu Sep 3 13:49:35 2020 UTC (3 years, 7 months ago) by niro
File size: 970 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 | |
20 | SRCFILE="${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude multilib mbuild alx-split |
24 | |
25 | SRC_URI=( |
26 | https://github.com/latchset/${PNAME}/archive/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | UP2SEPERATOR='\/' |
31 | UP2DATE="updatecmd https://github.com/latchset/${PNAME}/releases | highesttarball gz" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | mautoreconf || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | # use libevent as default event lib |
42 | # optional: tevent, which is used by samba, maybe as split-package |
43 | mconfigure \ |
44 | --with-glib \ |
45 | --with-libevent \ |
46 | --with-pthread \ |
47 | --without-libev \ |
48 | --without-tevent \ |
49 | || die |
50 | |
51 | mmake || die |
52 | } |