wok-stable annotate enet/receipt @ rev 11972

Up: slitaz-tools (4.7.1) - Bug fixes
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 02 20:02:31 2012 +0100 (2012-03-02)
parents
children
rev   line source
pascal@11221 1 # SliTaz package receipt.
pascal@11221 2
pascal@11221 3 PACKAGE="enet"
pascal@11221 4 VERSION="1.2.1"
pascal@11221 5 CATEGORY="development"
pascal@11221 6 SHORT_DESC="relatively thin, simple and robust network communication layer on top of UDP"
pascal@11221 7 MAINTAINER="devl547@gmail.com"
pascal@11221 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11221 9 WEB_SITE="http://enet.bespin.org/"
pascal@11221 10 WGET_URL="$WEB_SITE/download/$TARBALL"
pascal@11221 11
pascal@11221 12 # Rules to configure and make the package.
pascal@11221 13 compile_rules()
pascal@11221 14 {
pascal@11221 15 cd $src
pascal@11221 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11221 17 --mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
pascal@11221 18 make &&
pascal@11221 19 make DESTDIR=$PWD/_pkg install
pascal@11221 20 }
pascal@11221 21
pascal@11221 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11221 23 genpkg_rules()
pascal@11221 24 {
pascal@11221 25 mkdir -p $fs/usr/lib
pascal@11221 26 cp -a $_pkg/usr/lib/*a $fs/usr/lib
pascal@11221 27 cp -a $_pkg/usr/include $fs/usr
pascal@11221 28 }