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