wok-next view libevent/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libevent"
4 VERSION="2.1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="An event notification library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://libevent.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libevent.html"
12 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
13 WGET_URL="https://github.com/libevent/libevent/releases/download/release-$VERSION-stable/$TARBALL"
15 COOKOPTS="force-arch" # different .h
17 BUILD_DEPENDS="openssl-dev zlib-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libevent)
32 copy *.so*
33 DEPENDS="openssl"
34 ;;
35 *-dev)
36 copy @std @dev @rm
37 DEPENDS="openssl-dev"
38 ;;
39 esac
40 }