wok-undigest rev 333
mplayerplug-in: fix stuff path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 15 15:42:18 2011 +0200 (2011-06-15) |
parents | ca2a9bdc1681 |
children | 7fbd36ec86e1 |
files | mplayerplug-in/receipt |
line diff
1.1 --- a/mplayerplug-in/receipt Wed Jun 15 15:41:08 2011 +0200 1.2 +++ b/mplayerplug-in/receipt Wed Jun 15 15:42:18 2011 +0200 1.3 @@ -23,14 +23,14 @@ 1.4 { 1.5 cd $src 1.6 sed -i 's/npupp\.h/npfunctions.h/' */np* 1.7 - cp ../stuff/slitaz-hack.h include 1.8 + cp $stuff/slitaz-hack.h include 1.9 grep -q slitaz-hack include/npplat.h || sed -i \ 1.10 's/ne _NPPLAT_H_/ne _NPPLAT_H_\n#include "slitaz-hack.h"/' \ 1.11 include/npplat.h 1.12 while read file; do 1.13 [ -f done.$file ] && continue 1.14 echo "Apply $file..." 1.15 - patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 1.16 + patch -p1 < $stuff/$PACKAGE-$VERSION-$file || return 1 1.17 touch done.$file 1.18 done <<EOT 1.19 glibc210.u 1.20 @@ -48,7 +48,7 @@ 1.21 MOZILLA_HOME="/usr/lib/firefox-$FIREFOX_VER" \ 1.22 GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER" && 1.23 make -j 4 && 1.24 - make DESTDIR=$PWD/_pkg install 1.25 + make DESTDIR=$DESTDIR install 1.26 } 1.27 1.28 genpkg_rules()