wok-next view c-ares/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 8440f6bccf22
children 835b3b8ce6ac
line source
1 # SliTaz package receipt v2.
3 PACKAGE="c-ares"
4 VERSION="1.12.0"
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.haxx.se/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 SPLIT="c-ares-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make -j 1 DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 c-ares) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }