wok view enet/receipt @ rev 14064
shaarli: fix path + security fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 11:36:45 2013 +0100 (2013-02-20) |
parents | |
children | fcdd50638150 |
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 }