Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10643 - (show annotations) (download)
Tue Aug 29 13:01:42 2017 UTC (6 years, 7 months ago) by niro
File size: 850 byte(s)
auto added: ver bump to 2.1.8-r2
1 # $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.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 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 }