wok-6.x view c-ares/receipt @ rev 18459

Add c-ares
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 23:07:00 2015 +0200 (2015-09-28)
parents
children 8440f6bccf22
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 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 }