Magellan Linux

Annotation of /smage/branches/alx07x-stable/extras/libevent/libevent-2.1.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15216 - (hide annotations) (download)
Fri Aug 7 07:37:31 2020 UTC (3 years, 9 months ago) by niro
File size: 847 byte(s)
-release branches/alx07x-stable
1 niro 14314 # $Id$
2    
3     PNAME="libevent"
4     PVER="2.1.12"
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.1"
13     ALX_DEV_DEPEND=">= dev-libs/openssl-dev-1.1"
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     }