wok-6.x annotate libevent/receipt @ rev 23649
Up openvpn (2.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 20 13:31:36 2020 +0000 (2020-04-20) |
parents | aadac27b6d69 |
children | 5ea0ce1cecc0 |
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 |
0dddba11@861 | 19 # Rules to configure and make the package. |
0dddba11@861 | 20 compile_rules() |
0dddba11@861 | 21 { |
slaxemulator@12374 | 22 ./configure \ |
slaxemulator@12374 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@21175 | 24 make -j 1 && |
Hans-G?nter@21175 | 25 make install |
0dddba11@861 | 26 } |
0dddba11@861 | 27 |
0dddba11@861 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 29 genpkg_rules() |
0dddba11@861 | 30 { |
slaxemulator@12374 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@21175 | 32 |
Hans-G?nter@21175 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21175 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
0dddba11@861 | 35 } |