Contents of /trunk/extras/libevent/libevent-2.1.8-r3.smage2
Parent Directory | Revision Log
Revision 31785 -
(show annotations)
(download)
Tue Dec 11 12:31:13 2018 UTC (5 years, 9 months ago) by niro
File size: 707 byte(s)
Tue Dec 11 12:31:13 2018 UTC (5 years, 9 months ago) by niro
File size: 707 byte(s)
-multilib rebuild
1 | # $Id$ |
2 | |
3 | PNAME="libevent" |
4 | PVER="2.1.8" |
5 | PBUILD="r3" |
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 multilib 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 | mautoreconf || die |
30 | } |
31 | |
32 | src_compile() |
33 | { |
34 | mconfigure --disable-libevent-regress --enable-openssl || die |
35 | mmake || die |
36 | } |