wok view enet/receipt @ rev 20563

pam: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 21:59:09 2018 +0100 (2018-12-12)
parents 81200a5ef6b9
children d00daa25e4a8
line source
1 # SliTaz package receipt.
3 PACKAGE="enet"
4 VERSION="1.2.1"
5 CATEGORY="development"
6 SHORT_DESC="relatively thin, simple and robust network communication layer on top of UDP"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://enet.bespin.org/"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*a $fs/usr/lib
28 cp -a $install/usr/include $fs/usr
29 }