wok annotate libevent/receipt @ rev 12652
codeblocks, compiz-core: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 09:47:26 2012 +0200 (2012-04-30) |
parents | 749bcc79525b |
children | 6c3718ca17b6 |
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" |
pascal@12392 | 13 BUILD_DEPENDS="openssl-dev wget" |
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 } |