wok-current annotate libevent/receipt @ rev 12374
Up: libevent to 2.0.17.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 21:57:26 2012 +0000 (2012-04-19) |
parents | 5287b073ee95 |
children | ae2eed4fb61e |
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" |
0dddba11@861 | 8 TARBALL="$PACKAGE-$VERSION-stable.tar.gz" |
slaxemulator@12374 | 9 WEB_SITE="http://libevent.org" |
slaxemulator@12374 | 10 WGET_URL="https://github.com/downloads/$PACKAGE/$PACKAGE/$TARBALL" |
0dddba11@861 | 11 |
slaxemulator@10987 | 12 DEPENDS="openssl" |
slaxemulator@10987 | 13 BUILD_DEPENDS="openssl-dev" |
slaxemulator@10987 | 14 |
0dddba11@861 | 15 # Rules to configure and make the package. |
0dddba11@861 | 16 compile_rules() |
0dddba11@861 | 17 { |
slaxemulator@12374 | 18 cd $src |
slaxemulator@12374 | 19 ./configure \ |
slaxemulator@12374 | 20 $CONFIGURE_ARGS && |
slaxemulator@12374 | 21 make && make install |
0dddba11@861 | 22 } |
0dddba11@861 | 23 |
0dddba11@861 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
0dddba11@861 | 25 genpkg_rules() |
0dddba11@861 | 26 { |
slaxemulator@12374 | 27 mkdir -p $fs/usr/lib |
slaxemulator@12374 | 28 cp -a $install/usr/bin $fs/usr |
slaxemulator@12374 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
0dddba11@861 | 30 } |