wok-next view libevent/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | e19ff076dc63 |
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 BUILD_DEPENDS="openssl-dev zlib-dev"
16 SPLIT="$PACKAGE-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 }