wok view libevent/receipt @ rev 24376

created recipes for libboost-locale and libboost-locale-dev
author Hans-G?nter Theisgen
date Sun Feb 06 09:40:33 2022 +0100 (2022-02-06)
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 }