wok annotate c-ares/receipt @ rev 25191
updated python-cryptography (2.8 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:08:55 2022 +0100 (2022-07-13) |
parents | 908ae78de973 |
children | c370be1be30e |
rev | line source |
---|---|
pascal@18459 | 1 # SliTaz package receipt. |
pascal@18459 | 2 |
pascal@18459 | 3 PACKAGE="c-ares" |
Hans-G?nter@24389 | 4 VERSION="1.18.1" |
pascal@18459 | 5 CATEGORY="network" |
pascal@18459 | 6 SHORT_DESC="A C library for asynchronous DNS requests." |
pascal@18459 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18459 | 8 LICENSE="MIT" |
Hans-G?nter@24389 | 9 WEB_SITE="https://c-ares.org/" |
Hans-G?nter@20754 | 10 |
pascal@18459 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18459 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@18459 | 13 |
pascal@24391 | 14 # What is the latest version available today? |
pascal@24391 | 15 current_version() |
pascal@24391 | 16 { |
pascal@24391 | 17 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24391 | 18 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24391 | 19 } |
pascal@24391 | 20 |
pascal@18459 | 21 # Rules to configure and make the package. |
pascal@18459 | 22 compile_rules() |
pascal@18459 | 23 { |
Hans-G?nter@24389 | 24 ./configure \ |
Hans-G?nter@24389 | 25 --prefix=/usr \ |
Hans-G?nter@24389 | 26 --mandir=/usr/share/man \ |
pascal@18459 | 27 $CONFIGURE_ARGS && |
pascal@18459 | 28 make && |
Hans-G?nter@24389 | 29 make install DESTDIR=$DESTDIR |
pascal@18459 | 30 } |
pascal@18459 | 31 |
pascal@18459 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18459 | 33 genpkg_rules() |
pascal@18459 | 34 { |
Hans-G?nter@24389 | 35 cook_copy_files *.so* |
pascal@18459 | 36 } |