wok rev 19145

mpv: add EXTRA_SOURCE_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 16:16:54 2016 +0200 (2016-05-19)
parents 828d10d5e797
children 56ac50099f16
files mpv/receipt
line diff
     1.1 --- a/mpv/receipt	Thu May 19 15:51:15 2016 +0200
     1.2 +++ b/mpv/receipt	Thu May 19 16:16:54 2016 +0200
     1.3 @@ -9,6 +9,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://mpv.io"
     1.6  WGET_URL="https://github.com/mpv-player/mpv/archive/v$VERSION.tar.gz"
     1.7 +WAFTOOL="waf-1.8.4"
     1.8 +EXTRA_SOURCE_FILES="$WAFTOOL"
     1.9  
    1.10  DEPENDS="xorg-server xorg-libXv xorg-libXinerama xorg-libXss util-linux-uuid \
    1.11  alsa-lib enca fribidi libass lua ffmpeg"
    1.12 @@ -18,6 +20,9 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	[ -s $SOURCES_REPOSITORY/$WAFTOOL ] || wget -P $SOURCES_REPOSITORY \
    1.17 +		http://www.freehackers.org/~tnagy/release/$WAFTOOL
    1.18 +	install -m 755 $SOURCES_REPOSITORY/$WAFTOOL waf
    1.19  	./bootstrap.py
    1.20  	./waf configure \
    1.21  		--prefix=/usr \