smlinux/base/libevent/libevent.SMBuild

34 lines
773 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libevent
version=2.1.11
build=1sml
homepage="http://libevent.org"
download="https://github.com/libevent/libevent/releases/download/release-$version-stable/libevent-$version-stable.tar.gz"
desc="event loop library"
requires="openssl"
prepbuilddir() {
mkandenterbuilddir
rm -rf "$app-$version-stable"
tar xf $srcdir/$app-$version-stable.tar.?z
cd "$app-$version-stable"
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
06e407677ba296ad98ad45f40a8f43504c8d2088696c86fe50d7769d32c0351cb2358b0cf9bbe78a5e84503d4d32e3d24948236c45e0cc3f6752123fbc96bc9b libevent-2.1.11-stable.tar.lz
"