wok-next diff c-ares/receipt @ rev 19921
freeglut: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 18:59:51 2017 +0200 (2017-10-14) |
parents | 8440f6bccf22 |
children | 835b3b8ce6ac |
line diff
1.1 --- a/c-ares/receipt Mon Sep 28 23:32:38 2015 +0200 1.2 +++ b/c-ares/receipt Sat Oct 14 18:59:51 2017 +0200 1.3 @@ -1,20 +1,22 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="c-ares" 1.8 -VERSION="1.10.0" 1.9 +VERSION="1.12.0" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="A C library for asynchronous DNS requests." 1.12 +SHORT_DESC="A C library for asynchronous DNS requests" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="MIT" 1.15 +WEB_SITE="https://c-ares.haxx.se/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://c-ares.haxx.se/" 1.19 WGET_URL="${WEB_SITE}download/$TARBALL" 1.20 1.21 +SPLIT="c-ares-dev" 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - ./configure --prefix=/usr --mandir=/usr/share/man \ 1.27 - $CONFIGURE_ARGS && 1.28 + ./configure $CONFIGURE_ARGS && 1.29 make && 1.30 make -j 1 DESTDIR=$DESTDIR install 1.31 } 1.32 @@ -22,6 +24,8 @@ 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 - mkdir -p $fs/usr/lib 1.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 + case $PACKAGE in 1.39 + c-ares) copy @std;; 1.40 + *-dev) copy @dev;; 1.41 + esac 1.42 }