wok-stable annotate libevent/receipt @ rev 10134

Up: libevent to 2.0.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 17:28:46 2011 +0000 (2011-05-20)
parents 28a14995a67e
children 5287b073ee95
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="libevent"
slaxemulator@10134 4 VERSION="2.0.11"
0dddba11@861 5 CATEGORY="system-tools"
0dddba11@861 6 SHORT_DESC="An event notification library."
0dddba11@861 7 MAINTAINER="0dddba11@googlemail.com"
slaxemulator@8473 8 DEPENDS="openssl"
slaxemulator@8473 9 BUILD_DEPENDS="openssl-dev"
0dddba11@861 10 TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
0dddba11@861 11 WEB_SITE="http://www.monkey.org/~provos/libevent/"
0dddba11@861 12 WGET_URL="http://www.monkey.org/~provos/$TARBALL"
0dddba11@861 13
0dddba11@861 14 # Rules to configure and make the package.
0dddba11@861 15 compile_rules()
0dddba11@861 16 {
slaxemulator@8474 17 [ -d $PACKAGE-$VERSION-stable ] && mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION
0dddba11@861 18 cd $src
0dddba11@861 19 ./configure --prefix=/usr \
slaxemulator@10134 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
slaxemulator@10134 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 {
0dddba11@861 27 mkdir -p $fs/usr/lib
0dddba11@861 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
0dddba11@861 29 }