wok-6.x annotate c-ares/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | a78610b2eb47 |
children | 908ae78de973 |
rev | line source |
---|---|
pascal@18459 | 1 # SliTaz package receipt. |
pascal@18459 | 2 |
pascal@18459 | 3 PACKAGE="c-ares" |
Hans-G?nter@20754 | 4 VERSION="1.15.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" |
Hans-G?nter@20754 | 9 WEB_SITE="https://c-ares.haxx.se/" |
Hans-G?nter@20754 | 10 |
pascal@18459 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18459 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@18459 | 13 |
pascal@18459 | 14 # Rules to configure and make the package. |
pascal@18459 | 15 compile_rules() |
pascal@18459 | 16 { |
Hans-G?nter@20754 | 17 ./configure \ |
Hans-G?nter@20754 | 18 --prefix=/usr \ |
Hans-G?nter@20754 | 19 --mandir=/usr/share/man \ |
pascal@18459 | 20 $CONFIGURE_ARGS && |
pascal@18459 | 21 make && |
pascal@18460 | 22 make -j 1 DESTDIR=$DESTDIR install |
pascal@18459 | 23 } |
pascal@18459 | 24 |
pascal@18459 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18459 | 26 genpkg_rules() |
pascal@18459 | 27 { |
pascal@18459 | 28 mkdir -p $fs/usr/lib |
pascal@18459 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18459 | 30 } |