wok-current view enet/receipt @ rev 21563
laptop-mode-tools: package all files from /usr/sbin
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 17 10:28:48 2019 +0100 (2019-05-17) |
parents | fcdd50638150 |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="enet"
4 VERSION="1.3.14"
5 CATEGORY="development"
6 SHORT_DESC="A relatively thin, simple and robust network communication layer on top of UDP"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://enet.bespin.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --enable-crc32 \
22 $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*a $fs/usr/lib
32 cp -a $install/usr/include $fs/usr
33 }