wok annotate exosip/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | f52a870b984c |
children | 380ffe05937a |
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@5762 | 8 SOURCE="libeXosip2" |
pascal@5762 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5762 | 10 WEB_SITE="http://savannah.nongnu.org/projects/exosip/" |
pascal@12629 | 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
pascal@5762 | 12 DEPENDS="osip openssl" |
pascal@5762 | 13 BUILD_DEPENDS="osip-dev openssl-dev" |
pascal@5762 | 14 |
pascal@5762 | 15 # Rules to configure and make the package. |
pascal@5762 | 16 compile_rules() |
pascal@5762 | 17 { |
pascal@5762 | 18 cd $src |
pascal@5762 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5762 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5762 | 21 make && |
pascal@12622 | 22 make DESTDIR=$DESTDIR install |
pascal@5762 | 23 } |
pascal@5762 | 24 |
pascal@5762 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5762 | 26 genpkg_rules() |
pascal@5762 | 27 { |
pascal@5762 | 28 mkdir -p $fs/usr/lib |
pascal@5762 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@5762 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5762 | 31 } |