wok view libevent/receipt @ rev 25448
Add scikit-build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 09 09:27:07 2022 +0000 (2022-09-09) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libevent"
4 VERSION="2.1.12"
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 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_files *.so*
39 }