Magellan Linux

Contents of /smage/branches/alx08x-unstable/extras/libevent/libevent-2.1.12-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17382 - (show annotations) (download)
Wed Nov 22 10:48:25 2023 UTC (6 months, 1 week ago) by niro
File size: 924 byte(s)
-release branches/alx08x-unstable
1 # $Id$
2
3 PNAME="libevent"
4 PVER="2.1.12"
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-3.1"
13 ALX_DEV_DEPEND=">= dev-libs/openssl-dev-3.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/$(MABI=64 mlibdir)/*.so.*"
20 ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*"
21 sminclude multilib mbuild lib32-split alx-split
22
23 SRC_URI=(
24 https://github.com/${PNAME}/${PNAME}/releases/download/release-${PVER}-stable/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd https://github.com/libevent/libevent/tags | sed 's:-stable::g' | highesttarball gz"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 cd ${SRCDIR}
34 mautoreconf || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40
41 mconfigure --disable-libevent-regress --enable-openssl || die
42 mmake || die
43 }