wok annotate turnserver/receipt @ rev 17683
Up crosstool-ng (1.20.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 20 21:41:13 2015 +0100 (2015-02-20) |
parents | 6a0bb22dcc73 |
children | 5f6c5106b1f5 |
rev | line source |
---|---|
pascal@5750 | 1 # SliTaz package receipt. |
pascal@5750 | 2 |
pascal@5750 | 3 PACKAGE="turnserver" |
pascal@15869 | 4 VERSION="0.7.3" |
pascal@5750 | 5 CATEGORY="network" |
pascal@5750 | 6 SHORT_DESC="open-source TURN server implementation." |
pascal@5750 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15201 | 8 LICENSE="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@15256 | 23 $CONFIGURE_ARGS 2>&1 | grep -v //missing && |
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 |