wok-current view enet/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 83b97236db32 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="enet"
4 VERSION="1.3.17"
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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed '/projectnumber/!d;s|.*>v||;s|<.*||'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --enable-crc32 \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 # mkdir -p $fs/usr/lib
39 # cp -a $install/usr/lib/*a $fs/usr/lib
40 # cp -a $install/usr/include $fs/usr
41 cook_copy_folders include
42 cook_copy_folders pkgconfig
43 cook_copy_files *.*a
44 # what about *.so* ?
45 # this looks rather like a package enet-dev !
46 }