Contents of /smage/branches/alx08x-unstable/extras/libverto/libverto-0.3.2-r1.smage2
Parent Directory | Revision Log
Revision 17377 -
(show annotations)
(download)
Wed Nov 22 10:47:28 2023 UTC (6 months, 3 weeks ago) by niro
File size: 1080 byte(s)
Wed Nov 22 10:47:28 2023 UTC (6 months, 3 weeks ago) by niro
File size: 1080 byte(s)
-release branches/alx08x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="libverto" |
4 | PVER="0.3.2" |
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.76 |
13 | >= dev-libs/libevent-2.1" |
14 | |
15 | ALX_LIB32_DEPEND=">= dev-libs/glib2-lib32-2.76 |
16 | >= dev-libs/libevent-lib32-2.1" |
17 | |
18 | ALX_DEV_DEPEND=">= dev-libs/glib2-dev-2.64 |
19 | >= dev-libs/libevent-dev-2.1" |
20 | |
21 | SDEPEND=">= dev-lang/python3-3.11 |
22 | ${ALX_DEV_DEPEND}" |
23 | |
24 | SRCFILE="${PVER}.tar.gz" |
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 | |
27 | sminclude multilib mbuild lib32-split alx-split |
28 | |
29 | SRC_URI=( |
30 | https://github.com/latchset/${PNAME}/archive/${SRCFILE} |
31 | mirror://${PNAME}/${SRCFILE} |
32 | ) |
33 | |
34 | UP2SEPERATOR='\/' |
35 | UP2DATE="updatecmd https://github.com/latchset/${PNAME}/tags | highesttarball gz" |
36 | |
37 | src_prepare() |
38 | { |
39 | munpack ${SRCFILE} || die |
40 | mautoreconf || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | # use libevent as default event lib |
46 | # optional: tevent, which is used by samba, maybe as split-package |
47 | mconfigure \ |
48 | --with-glib \ |
49 | --with-libevent \ |
50 | --with-pthread \ |
51 | --without-libev \ |
52 | --without-tevent \ |
53 | || die |
54 | |
55 | mmake || die |
56 | } |