wok-4.x view libevent/receipt @ rev 12285
dahdi-linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 24 18:00:09 2012 +0200 (2012-05-24) |
parents | 5f92d19e6aa5 |
children |
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 }