wok-next view enet/receipt @ rev 16693

slitaz-icon: workaround tarball
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 23 05:21:33 2014 +0300 (2014-05-23)
parents 81200a5ef6b9
children d5aab818505e
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 }