wok-6.x annotate libevent/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="libevent" |
Hans-G?nter@24738 | 4 VERSION="2.1.12" |
0dddba11@861 | 5 CATEGORY="system-tools" |
0dddba11@861 | 6 SHORT_DESC="An event notification library." |
0dddba11@861 | 7 MAINTAINER="0dddba11@googlemail.com" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@21175 | 9 WEB_SITE="https://libevent.org" |
Hans-G?nter@21175 | 10 |
0dddba11@861 | 11 TARBALL="$PACKAGE-$VERSION-stable.tar.gz" |
Hans-G?nter@21175 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION-stable/$TARBALL" |
0dddba11@861 | 13 |
slaxemulator@10987 | 14 DEPENDS="openssl" |
Hans-G?nter@21175 | 15 BUILD_DEPENDS="openssl-dev" |
Hans-G?nter@23027 | 16 |
Hans-G?nter@21175 | 17 HOST_ARCH="i486 arm" |
slaxemulator@10987 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*libevent-\(.*\)-stable.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
0dddba11@861 | 25 # Rules to configure and make the package. |
0dddba11@861 | 26 compile_rules() |
0dddba11@861 | 27 { |
Hans-G?nter@24738 | 28 ./configure \ |
slaxemulator@12374 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@24738 | 30 make && |
Hans-G?nter@21175 | 31 make install |
0dddba11@861 | 32 } |
0dddba11@861 | 33 |
0dddba11@861 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 35 genpkg_rules() |
0dddba11@861 | 36 { |
Hans-G?nter@24738 | 37 cook_copy_folders bin |
Hans-G?nter@24738 | 38 cook_copy_files *.so* |
0dddba11@861 | 39 } |