wok-6.x annotate turnserver/receipt @ rev 5848
xfmedia: Fix BUILD_DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 16 16:00:31 2010 +0200 (2010-07-16) |
parents | |
children | 0848d0285d55 |
rev | line source |
---|---|
pascal@5750 | 1 # SliTaz package receipt. |
pascal@5750 | 2 |
pascal@5750 | 3 PACKAGE="turnserver" |
pascal@5750 | 4 VERSION="0.4" |
pascal@5750 | 5 CATEGORY="network" |
pascal@5750 | 6 SHORT_DESC="open-source TURN server implementation." |
pascal@5750 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5750 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@5750 | 9 WEB_SITE="http://turnserver.sourceforge.net/" |
pascal@5750 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@5750 | 11 DEPENDS="openssl" |
pascal@5750 | 12 BUILD_DEPENDS="libconfuse openssl-dev" |
pascal@5750 | 13 |
pascal@5750 | 14 # Rules to configure and make the package. |
pascal@5750 | 15 compile_rules() |
pascal@5750 | 16 { |
pascal@5750 | 17 cd $src |
pascal@5750 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@5750 | 19 $CONFIGURE_ARGS && |
pascal@5750 | 20 make && |
pascal@5750 | 21 make DESTDIR=$PWD/_pkg install |
pascal@5750 | 22 } |
pascal@5750 | 23 |
pascal@5750 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5750 | 25 genpkg_rules() |
pascal@5750 | 26 { |
pascal@5750 | 27 mkdir -p $fs/usr |
pascal@5750 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@5750 | 29 } |
pascal@5750 | 30 |