wok-next annotate enet/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 81200a5ef6b9 |
children | d5aab818505e |
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 } |