wok-current annotate turnserver/receipt @ rev 15037
turnserver: configure bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 12:40:20 2013 +0000 (2013-08-12) |
parents | 2b9f96603415 |
children | f4c22f009037 |
rev | line source |
---|---|
pascal@5750 | 1 # SliTaz package receipt. |
pascal@5750 | 2 |
pascal@5750 | 3 PACKAGE="turnserver" |
pascal@12565 | 4 VERSION="0.6" |
pascal@5750 | 5 CATEGORY="network" |
pascal@5750 | 6 SHORT_DESC="open-source TURN server implementation." |
pascal@5750 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENCE="GPL3" |
pascal@5750 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@5750 | 10 WEB_SITE="http://turnserver.sourceforge.net/" |
pascal@5750 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14999 | 12 |
pascal@5750 | 13 DEPENDS="openssl" |
pascal@5750 | 14 BUILD_DEPENDS="libconfuse openssl-dev" |
pascal@5750 | 15 |
pascal@5750 | 16 # Rules to configure and make the package. |
pascal@5750 | 17 compile_rules() |
pascal@5750 | 18 { |
pascal@15037 | 19 # configure script should be really fixed... |
pascal@15037 | 20 ln -s $src/missing /root |
pascal@5750 | 21 cd $src |
pascal@5750 | 22 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@5750 | 23 $CONFIGURE_ARGS && |
pascal@5750 | 24 make && |
pascal@12565 | 25 make DESTDIR=$DESTDIR install |
pascal@5750 | 26 } |
pascal@5750 | 27 |
pascal@5750 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5750 | 29 genpkg_rules() |
pascal@5750 | 30 { |
pascal@5750 | 31 mkdir -p $fs/usr |
pascal@14999 | 32 cp -a $install/usr/bin $fs/usr |
pascal@5750 | 33 } |
pascal@5750 | 34 |