wok-6.x view enet/receipt @ rev 18113

Up: tazpkg (813).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 05 00:39:28 2015 +0300 (2015-06-05)
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 }