wok-current annotate enet/receipt @ rev 19654

busybox: add buf 9471 fix (for wget)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 25 09:31:52 2017 +0100 (2017-01-25)
parents 81200a5ef6b9
children d00daa25e4a8
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@15588 8 LICENSE="MIT"
pascal@11221 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11221 10 WEB_SITE="http://enet.bespin.org/"
pascal@11221 11 WGET_URL="$WEB_SITE/download/$TARBALL"
pascal@11221 12
pascal@11221 13 # Rules to configure and make the package.
pascal@11221 14 compile_rules()
pascal@11221 15 {
pascal@11221 16 cd $src
pascal@11221 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11221 18 --mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
pascal@11221 19 make &&
pascal@15588 20 make DESTDIR=$DESTDIR install
pascal@11221 21 }
pascal@11221 22
pascal@11221 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11221 24 genpkg_rules()
pascal@11221 25 {
pascal@11221 26 mkdir -p $fs/usr/lib
pascal@15588 27 cp -a $install/usr/lib/*a $fs/usr/lib
pascal@15588 28 cp -a $install/usr/include $fs/usr
pascal@11221 29 }