wok-next annotate c-ares/receipt @ rev 19534
Up cookutils (842)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 29 17:31:57 2016 +0200 (2016-11-29) |
parents | f083b24a7267 |
children | 4ca71b0ef823 |
rev | line source |
---|---|
pascal@18459 | 1 # SliTaz package receipt. |
pascal@18459 | 2 |
pascal@18459 | 3 PACKAGE="c-ares" |
pascal@18459 | 4 VERSION="1.10.0" |
pascal@18459 | 5 CATEGORY="network" |
pascal@18459 | 6 SHORT_DESC="A C library for asynchronous DNS requests." |
pascal@18459 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18459 | 8 LICENSE="MIT" |
pascal@18459 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18459 | 10 WEB_SITE="http://c-ares.haxx.se/" |
pascal@18459 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@18459 | 12 |
pascal@18459 | 13 # Rules to configure and make the package. |
pascal@18459 | 14 compile_rules() |
pascal@18459 | 15 { |
pascal@18459 | 16 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@18459 | 17 $CONFIGURE_ARGS && |
pascal@18459 | 18 make && |
pascal@18460 | 19 make -j 1 DESTDIR=$DESTDIR install |
pascal@18459 | 20 } |
pascal@18459 | 21 |
pascal@18459 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18459 | 23 genpkg_rules() |
pascal@18459 | 24 { |
pascal@18459 | 25 mkdir -p $fs/usr/lib |
pascal@18459 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18459 | 27 } |