wok view enet/receipt @ rev 24690
updated jpeg, jpeg-dev and libjpeg (9d -> 9e)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 14:11:36 2022 +0100 (2022-03-12) |
parents | 83b97236db32 |
children | 2b069c72d47e |
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 }