wok-next view libevent/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 3bec5f368ce1
children d5aab818505e
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="0dddba11@googlemail.com"
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 BUILD_DEPENDS="openssl-dev zlib-dev"
16 SPLIT="libevent-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libevent)
30 copy *.so*
31 DEPENDS="openssl"
32 ;;
33 *-dev)
34 copy @std @dev @rm
35 DEPENDS="openssl-dev"
36 ;;
37 esac
38 }