Annotation of /trunk/extras/libevent/libevent-2.1.8-r2.smage2
Parent Directory | Revision Log
Revision 29919 -
(hide annotations)
(download)
Thu Oct 19 09:15:02 2017 UTC (6 years, 11 months ago) by niro
File size: 727 byte(s)
Thu Oct 19 09:15:02 2017 UTC (6 years, 11 months ago) by niro
File size: 727 byte(s)
-openssl-1.1 rebuild
1 | niro | 29919 | # $Id$ |
2 | |||
3 | PNAME="libevent" | ||
4 | PVER="2.1.8" | ||
5 | PBUILD="r2" | ||
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 | |||
14 | SRCFILE="${PNAME}-${PVER}-stable.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}-stable" | ||
16 | |||
17 | sminclude mbuild | ||
18 | |||
19 | SRC_URI=( | ||
20 | https://github.com/${PNAME}/${PNAME}/releases/download/release-${PVER}-stable/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | ) | ||
23 | |||
24 | UP2DATE="updatecmd https://github.com/libevent/libevent/releases | sed 's:-stable::g' | highesttarball gz" | ||
25 | |||
26 | src_prepare() | ||
27 | { | ||
28 | munpack ${SRCFILE} || die | ||
29 | cd ${SRCDIR} | ||
30 | mautoreconf || die | ||
31 | } | ||
32 | |||
33 | src_compile() | ||
34 | { | ||
35 | cd ${SRCDIR} | ||
36 | |||
37 | mconfigure --disable-libevent-regress --enable-openssl || die | ||
38 | mmake || die | ||
39 | } |