wok-current view c-ares/receipt @ rev 25709
Rework mesa-dri to use symlink (85% size free), thanks alanyih
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 03 16:29:38 2024 +0000 (6 months ago) |
parents | 908ae78de973 |
children |
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 }