wok-6.x view enet/receipt @ rev 11915
squid: improve package (again)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 00:00:54 2012 +0100 (2012-03-01) |
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 }