wok-6.x view libevent/receipt @ rev 12288

linux: workaround missing --extract in cook
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 19:01:36 2012 +0200 (2012-04-15)
parents 5f92d19e6aa5
children 749bcc79525b
line source
1 # SliTaz package receipt.
3 PACKAGE="libevent"
4 VERSION="2.0.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="An event notification library."
7 MAINTAINER="0dddba11@googlemail.com"
8 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
9 WEB_SITE="http://www.monkey.org/~provos/libevent/"
10 WGET_URL="http://www.monkey.org/~provos/$TARBALL"
12 DEPENDS="openssl"
13 BUILD_DEPENDS="openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 [ -d $PACKAGE-$VERSION-stable ] && mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION
19 cd $src
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }