wok-next annotate libevent/receipt @ rev 8851

Updated tazwikiss to use slitaz-dev-tools.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 00:13:56 2011 +0000 (2011-02-25)
parents 409f65125bed
children 5f92d19e6aa5
rev   line source
0dddba11@861 1 # SliTaz package receipt.
0dddba11@861 2
0dddba11@861 3 PACKAGE="libevent"
slaxemulator@8473 4 VERSION="2.0.10"
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 \
0dddba11@861 20 --mandir=/usr/share/man $CONFIGURE_ARGS
0dddba11@861 21 make
0dddba11@861 22 make DESTDIR=$PWD/_pkg 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
0dddba11@861 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
0dddba11@861 30 }