wok-next diff exosip/receipt @ rev 20377
h8300-gdb, h8300-gcc: use gcc49
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 26 11:54:13 2017 +0100 (2017-11-26) |
parents | 380ffe05937a |
children | e6615350078d |
line diff
1.1 --- a/exosip/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/exosip/receipt Sun Nov 26 11:54:13 2017 +0100 1.3 @@ -1,32 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="exosip" 1.8 VERSION="3.6.0" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="extended SIP library." 1.11 +SHORT_DESC="Extended Open SIP library" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -SOURCE="libeXosip2" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://savannah.nongnu.org/projects/exosip/" 1.17 + 1.18 +TARBALL="libeXosip2-$VERSION.tar.gz" 1.19 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" 1.20 -DEPENDS="osip openssl" 1.21 -BUILD_DEPENDS="osip-dev openssl-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.29 - make && 1.30 - make DESTDIR=$DESTDIR install 1.31 +BUILD_DEPENDS="c-ares-dev osip-dev openssl-dev" 1.32 +SPLIT="exosip-dev" 1.33 + 1.34 +compile_rules() { 1.35 + ./configure $CONFIGURE_ARGS && make && make install 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 - mkdir -p $fs/usr/lib 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + exosip) 1.47 + copy @std 1.48 + DEPENDS="c-ares libcrypto libssl osip" 1.49 + ;; 1.50 + *-dev) 1.51 + copy @dev 1.52 + DEPENDS="exosip c-ares-dev openssl-dev osip-dev" 1.53 + ;; 1.54 + esac 1.55 }