wok annotate libevent/receipt @ rev 2959
Up: dmidecode (2.10)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 08 22:26:27 2009 +0200 (2009-05-08) |
parents | |
children | 3eb762d7edb9 |
rev | line source |
---|---|
0dddba11@861 | 1 # SliTaz package receipt. |
0dddba11@861 | 2 |
0dddba11@861 | 3 PACKAGE="libevent" |
0dddba11@861 | 4 VERSION="1.4.3" |
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 DEPENDS="" |
0dddba11@861 | 9 TARBALL="$PACKAGE-$VERSION-stable.tar.gz" |
0dddba11@861 | 10 WEB_SITE="http://www.monkey.org/~provos/libevent/" |
0dddba11@861 | 11 WGET_URL="http://www.monkey.org/~provos/$TARBALL" |
0dddba11@861 | 12 |
0dddba11@861 | 13 # Rules to configure and make the package. |
0dddba11@861 | 14 compile_rules() |
0dddba11@861 | 15 { |
0dddba11@861 | 16 mv $PACKAGE-$VERSION-stable $PACKAGE-$VERSION |
0dddba11@861 | 17 cd $src |
0dddba11@861 | 18 ./configure --prefix=/usr \ |
0dddba11@861 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
0dddba11@861 | 20 make |
0dddba11@861 | 21 make DESTDIR=$PWD/_pkg 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 } |