APP=enet
VERSION=1.3.15
BUILD=1sml
HOMEPAGE='http://enet.bespin.org/'
DOWNLOAD='http://enet.bespin.org/download/enet-1.3.15.tar.gz'
REQUIRES="musl"
DESC="simple and robust network communication layer over UDP"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --enable-static=no

  make
  make install DESTDIR=$PKG 

  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
41ce9bae1286e61cc2288d326c6571cce35be0fa5abf957c7a1386b785e4c6744b744792ac30c8318bfd11eae5aa4731430c973ffa6a09694bd0b0be8f8b4dae  enet-1.3.15.tar.gz
"
