wok-next view libevent/receipt @ rev 20383

Add 'go-bin' to bootstrap 'go'; tiny edits in 'go' (still broken).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 30 02:32:01 2017 +0200 (2017-11-30)
parents 0c247ee1a841
children e6615350078d
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 HOST_ARCH="i486 arm"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libevent)
32 copy *.so*
33 DEPENDS="libcrypto libssl"
34 ;;
35 *-dev)
36 copy @std @dev
37 remove_already_packed
38 DEPENDS="libcrypto-dev openssl-dev"
39 ;;
40 esac
41 }