Annotation of /smage/branches/alx07x-unstable/extras/libevent/libevent-2.1.10-r1.smage2
Parent Directory | Revision Log
Revision 13209 -
(hide annotations)
(download)
Thu Jul 4 13:31:00 2019 UTC (4 years, 11 months ago) by niro
Original Path: smage/trunk/extras/libevent/libevent-2.1.10-r1.smage2
File size: 847 byte(s)
Thu Jul 4 13:31:00 2019 UTC (4 years, 11 months ago) by niro
Original Path: smage/trunk/extras/libevent/libevent-2.1.10-r1.smage2
File size: 847 byte(s)
auto added: ver bump to 2.1.10-r1
1 | niro | 13209 | # $Id$ |
2 | |||
3 | PNAME="libevent" | ||
4 | PVER="2.1.10" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="libevent - an event notification library." | ||
10 | HOMEPAGE="http://libevent.org/" | ||
11 | |||
12 | DEPEND=">= dev-libs/openssl-1.1" | ||
13 | ALX_DEV_DEPEND=">= dev-libs/openssl-dev-1.1" | ||
14 | SDPEND="${ALX_DEV_DEPEND}" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}-stable.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}-stable" | ||
18 | |||
19 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" | ||
20 | sminclude mbuild alx-split | ||
21 | |||
22 | SRC_URI=( | ||
23 | https://github.com/${PNAME}/${PNAME}/releases/download/release-${PVER}-stable/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd https://github.com/libevent/libevent/releases | sed 's:-stable::g' | highesttarball gz" | ||
28 | |||
29 | src_prepare() | ||
30 | { | ||
31 | munpack ${SRCFILE} || die | ||
32 | cd ${SRCDIR} | ||
33 | mautoreconf || die | ||
34 | } | ||
35 | |||
36 | src_compile() | ||
37 | { | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | mconfigure --disable-libevent-regress --enable-openssl || die | ||
41 | mmake || die | ||
42 | } |