wok diff mplayerplug-in/receipt @ rev 4548
add: libmng-dev
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri Dec 04 17:01:32 2009 +0000 (2009-12-04) |
parents | 0f072f890052 |
children | 5b44af8c1257 |
line diff
1.1 --- a/mplayerplug-in/receipt Fri Jun 12 17:28:25 2009 +0000 1.2 +++ b/mplayerplug-in/receipt Fri Dec 04 17:01:32 2009 +0000 1.3 @@ -20,15 +20,19 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - while read file; do 1.8 - [ -f done.$file ] && continue 1.9 - echo "Apply $file..." 1.10 - patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 1.11 - touch done.$file 1.12 - done <<EOT 1.13 + cp ../stuff/slitaz-hack.h include 1.14 + grep -q slitaz-hack include/npplat.h || sed -i \ 1.15 + 's/ne _NPPLAT_H_/ne _NPPLAT_H_\n#include "slitaz-hack.h"/' \ 1.16 + include/npplat.h 1.17 + while read file; do 1.18 + [ -f done.$file ] && continue 1.19 + echo "Apply $file..." 1.20 + patch -p1 < ../stuff/$PACKAGE-$VERSION-$file || return 1 1.21 + touch done.$file 1.22 + done <<EOT 1.23 glibc210.u 1.24 EOT 1.25 - make distclean 1.26 + make distclean 1.27 touch install.sh 1.28 ./configure --prefix=/usr --sysconfdir=/etc \ 1.29 --enable-gtk2 \ 1.30 @@ -37,16 +41,16 @@ 1.31 --enable-rm \ 1.32 --enable-dvx \ 1.33 MOZILLA_HOME="/usr/lib/firefox-$FIREFOX_VER" \ 1.34 - GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER/stable" && 1.35 - make 1.36 + GECKO_IDLDIR="/usr/share/idl/firefox-$FIREFOX_VER/stable" && 1.37 + make && 1.38 make DESTDIR=$PWD/_pkg install 1.39 } 1.40 1.41 genpkg_rules() 1.42 { 1.43 mkdir -p $fs/usr/lib 1.44 - cp -a $_pkg/etc $fs 1.45 - cp -a $_pkg/usr/lib/mozilla $fs/usr/lib 1.46 + cp -a $_pkg/etc $fs 1.47 + cp -a $_pkg/usr/lib/mozilla $fs/usr/lib 1.48 # change the default video output to xv,x11 1.49 sed -i "s/#vo=xv,x11/vo=xv,x11/" $fs/etc/$PACKAGE.conf 1.50