Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9638 - (hide annotations) (download)
Tue Aug 1 08:15:30 2017 UTC (6 years, 9 months ago) by niro
File size: 729 byte(s)
auto added: ver bump to 2.1.8-r1
1 niro 9638 # $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    
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     }