wok-6.x annotate libevent/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | bd3720b85732 |
children | 2c34d52f1eca |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="libevent" |
Hans-G?nter@23027 | 4 VERSION="2.1.11" |
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 { |
slaxemulator@12374 | 28 ./configure \ |
slaxemulator@12374 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21175 | 30 make -j 1 && |
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 { |
slaxemulator@12374 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21175 | 38 |
Hans-G?nter@21175 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21175 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
0dddba11@861 | 41 } |