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