wok-4.x view enet/receipt @ rev 12313

Up: libao (1.1.0)
author Richard Dunbar <mojo@slitaz.org>
date Fri Aug 10 00:43:02 2012 +0000 (2012-08-10)
parents
children
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://enet.bespin.org/"
10 WGET_URL="$WEB_SITE/download/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man --enable-crc32 $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/*a $fs/usr/lib
27 cp -a $_pkg/usr/include $fs/usr
28 }