wok view c-ares/receipt @ rev 20490

Add meson & ninja
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 27 18:38:19 2018 +0200 (2018-10-27)
parents f083b24a7267
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="c-ares"
4 VERSION="1.10.0"
5 CATEGORY="network"
6 SHORT_DESC="A C library for asynchronous DNS requests."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://c-ares.haxx.se/"
11 WGET_URL="${WEB_SITE}download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ./configure --prefix=/usr --mandir=/usr/share/man \
17 $CONFIGURE_ARGS &&
18 make &&
19 make -j 1 DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $install/usr/lib/*.so* $fs/usr/lib
27 }