wok-next annotate exosip/receipt @ rev 17004
Add libjson-c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 13:24:09 2014 +0200 (2014-08-12) |
parents | a9c4c35092b8 |
children | fbd490ef13ef |
rev | line source |
---|---|
pascal@5762 | 1 # SliTaz package receipt. |
pascal@5762 | 2 |
pascal@5762 | 3 PACKAGE="exosip" |
pascal@12622 | 4 VERSION="3.6.0" |
pascal@5762 | 5 CATEGORY="network" |
pascal@5762 | 6 SHORT_DESC="extended SIP library." |
pascal@5762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@5762 | 9 SOURCE="libeXosip2" |
pascal@5762 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5762 | 11 WEB_SITE="http://savannah.nongnu.org/projects/exosip/" |
pascal@12629 | 12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
pascal@5762 | 13 DEPENDS="osip openssl" |
pascal@5762 | 14 BUILD_DEPENDS="osip-dev openssl-dev" |
pascal@5762 | 15 |
pascal@5762 | 16 # Rules to configure and make the package. |
pascal@5762 | 17 compile_rules() |
pascal@5762 | 18 { |
pascal@5762 | 19 cd $src |
pascal@5762 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5762 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5762 | 22 make && |
pascal@12622 | 23 make DESTDIR=$DESTDIR install |
pascal@5762 | 24 } |
pascal@5762 | 25 |
pascal@5762 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5762 | 27 genpkg_rules() |
pascal@5762 | 28 { |
pascal@5762 | 29 mkdir -p $fs/usr/lib |
pascal@15000 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@5762 | 32 } |