wok-current view libevent/receipt @ rev 8947

othello: get tarball from slitaz mirror
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 23:18:31 2011 +0100 (2011-03-01)
parents 409f65125bed
children 5f92d19e6aa5
line source
1 # SliTaz package receipt.
3 PACKAGE="libevent"
4 VERSION="2.0.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="An event notification library."
7 MAINTAINER="0dddba11@googlemail.com"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="openssl-dev"
10 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
11 WEB_SITE="http://www.monkey.org/~provos/libevent/"
12 WGET_URL="http://www.monkey.org/~provos/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d $PACKAGE-$VERSION-stable ] && mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION
18 cd $src
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
30 }