wok view c-ares/receipt @ rev 24787

lxqt-panel: worldclock plugin removed
author Hans-G?nter Theisgen
date Mon Mar 21 09:17:44 2022 +0100 (2022-03-21)
parents 908ae78de973
children c370be1be30e
line source
1 # SliTaz package receipt.
3 PACKAGE="c-ares"
4 VERSION="1.18.1"
5 CATEGORY="network"
6 SHORT_DESC="A C library for asynchronous DNS requests."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://c-ares.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 "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }