Magellan Linux

Contents of /smage/trunk/extras/libevent/libevent-2.1.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9639 - (show annotations) (download)
Tue Aug 1 08:16:33 2017 UTC (6 years, 9 months ago) by niro
File size: 803 byte(s)
auto added: ver bump to 2.1.8-r1
1 # $Id$
2
3 PNAME="libevent"
4 PVER="2.1.8"
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.0.2"
13 ALX_DEV_DEPEND=">= dev-libs/openssl-dev-1.0.2"
14 SDPEND="${ALX_DEV_DEPEND}"
15
16 SRCFILE="${PNAME}-${PVER}-stable.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}-stable"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 https://github.com/${PNAME}/${PNAME}/releases/download/release-${PVER}-stable/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd https://github.com/libevent/libevent/releases | sed 's:-stable::g' | highesttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32 mautoreconf || die
33 }
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38
39 mconfigure --disable-libevent-regress --enable-openssl || die
40 mmake || die
41 }