wok view libevent/receipt @ rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (2021-10-04)
parents bd3720b85732
children 2c34d52f1eca
line source
1 # SliTaz package receipt.
3 PACKAGE="libevent"
4 VERSION="2.1.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="An event notification library."
7 MAINTAINER="0dddba11@googlemail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://libevent.org"
11 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION-stable/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="openssl-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*libevent-\(.*\)-stable.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }