wok-next annotate libevent/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents c4e53a39395a
children 0ec6086e21d6
rev   line source
al@19780 1 # SliTaz package receipt v2.
0dddba11@861 2
0dddba11@861 3 PACKAGE="libevent"
al@19780 4 VERSION="2.1.8"
0dddba11@861 5 CATEGORY="system-tools"
al@19780 6 SHORT_DESC="An event notification library"
0dddba11@861 7 MAINTAINER="0dddba11@googlemail.com"
pascal@15472 8 LICENSE="BSD"
al@19780 9 WEB_SITE="http://libevent.org/"
0dddba11@861 10
al@19780 11 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
al@19780 12 WGET_URL="https://github.com/libevent/libevent/releases/download/release-$VERSION-stable/$TARBALL"
al@19780 13
al@19675 14 BUILD_DEPENDS="openssl-dev zlib-dev"
al@19780 15 SPLIT="libevent-dev"
slaxemulator@10987 16
0dddba11@861 17 # Rules to configure and make the package.
0dddba11@861 18 compile_rules()
0dddba11@861 19 {
slaxemulator@12374 20 ./configure \
al@19780 21 --disable-static \
slaxemulator@12374 22 $CONFIGURE_ARGS &&
slaxemulator@12374 23 make && make install
0dddba11@861 24 }
0dddba11@861 25
0dddba11@861 26 # Rules to gen a SliTaz package suitable for Tazpkg.
0dddba11@861 27 genpkg_rules()
0dddba11@861 28 {
al@19780 29 case $PACKAGE in
al@19780 30 libevent)
al@19780 31 copy *.so*
al@20453 32 DEPENDS="openssl"
al@19780 33 ;;
al@19780 34 *-dev)
al@20513 35 copy @std @dev @rm
al@20453 36 DEPENDS="openssl-dev"
al@19780 37 ;;
al@19780 38 esac
0dddba11@861 39 }