wok-current annotate enet/receipt @ rev 13570

blazekiss: remove wkp_ToDo.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 03 16:23:37 2012 +0100 (2012-11-03)
parents
children fcdd50638150
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 }