wok-6.x annotate libevent/receipt @ rev 17217
Up: file (5.20).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 14 11:50:51 2014 +0300 (2014-10-14) |
parents | 784241c8e52c |
children | 83f6188ff83e |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="libevent" |
slaxemulator@12374 | 4 VERSION="2.0.17" |
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" |
0dddba11@861 | 9 TARBALL="$PACKAGE-$VERSION-stable.tar.gz" |
slaxemulator@12374 | 10 WEB_SITE="http://libevent.org" |
slaxemulator@12374 | 11 WGET_URL="https://github.com/downloads/$PACKAGE/$PACKAGE/$TARBALL" |
pankso@16115 | 12 HOST_ARCH="i486 arm" |
0dddba11@861 | 13 |
slaxemulator@10987 | 14 DEPENDS="openssl" |
pascal@12392 | 15 BUILD_DEPENDS="openssl-dev wget" |
slaxemulator@10987 | 16 |
0dddba11@861 | 17 # Rules to configure and make the package. |
0dddba11@861 | 18 compile_rules() |
0dddba11@861 | 19 { |
slaxemulator@12374 | 20 ./configure \ |
slaxemulator@12374 | 21 $CONFIGURE_ARGS && |
slaxemulator@12374 | 22 make && make install |
0dddba11@861 | 23 } |
0dddba11@861 | 24 |
0dddba11@861 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 26 genpkg_rules() |
0dddba11@861 | 27 { |
slaxemulator@12374 | 28 mkdir -p $fs/usr/lib |
slaxemulator@12374 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@12374 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
0dddba11@861 | 31 } |