wok-stable diff libevent/receipt @ rev 1434

Fix: Missing deps to build rpm4.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Oct 01 00:24:40 2008 +0200 (2008-10-01)
parents
children 3eb762d7edb9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libevent/receipt	Wed Oct 01 00:24:40 2008 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libevent"
     1.7 +VERSION="1.4.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="An event notification library."
    1.10 +MAINTAINER="0dddba11@googlemail.com"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
    1.13 +WEB_SITE="http://www.monkey.org/~provos/libevent/"
    1.14 +WGET_URL="http://www.monkey.org/~provos/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION
    1.20 +    cd $src
    1.21 +    ./configure --prefix=/usr \
    1.22 +    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +    make
    1.24 +    make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +    mkdir -p $fs/usr/lib
    1.31 +    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.32 +}