wok-next annotate libevent/receipt @ rev 11136

Up: xorg-xinit to 1.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 20:59:31 2011 +0000 (2011-10-26)
parents 5f92d19e6aa5
children 749bcc79525b
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="libevent"
slaxemulator@10987 4 VERSION="2.0.13"
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"
0dddba11@861 9 WEB_SITE="http://www.monkey.org/~provos/libevent/"
0dddba11@861 10 WGET_URL="http://www.monkey.org/~provos/$TARBALL"
0dddba11@861 11
slaxemulator@10987 12 DEPENDS="openssl"
slaxemulator@10987 13 BUILD_DEPENDS="openssl-dev"
slaxemulator@10987 14
0dddba11@861 15 # Rules to configure and make the package.
0dddba11@861 16 compile_rules()
0dddba11@861 17 {
slaxemulator@8474 18 [ -d $PACKAGE-$VERSION-stable ] && mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION
0dddba11@861 19 cd $src
0dddba11@861 20 ./configure --prefix=/usr \
slaxemulator@10134 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
slaxemulator@10134 22 make && make install
0dddba11@861 23 }
0dddba11@861 24
0dddba11@861 25 # Rules to gen a SliTaz package suitable for Tazpkg.
0dddba11@861 26 genpkg_rules()
0dddba11@861 27 {
0dddba11@861 28 mkdir -p $fs/usr/lib
slaxemulator@10987 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
0dddba11@861 30 }