wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/c-ares/receipt Mon Sep 28 23:07:00 2015 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="c-ares" 1.7 +VERSION="1.10.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A C library for asynchronous DNS requests." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://c-ares.haxx.se/" 1.14 +WGET_URL="${WEB_SITE}download/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + ./configure --prefix=/usr --mandir=/usr/share/man \ 1.20 + $CONFIGURE_ARGS && 1.21 + make && 1.22 + make DESTDIR=$DESTDIR install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib 1.29 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.30 +}