]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/busybox/slingbox-1.00/slingbox.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / busybox / slingbox-1.00 / slingbox.patch
1 --- busybox-1.00-rc3/applets/install.sh 2001-03-09 08:12:11.000000000 +1030
2 +++ slingbox/applets/install.sh 2004-08-31 11:27:23.000000000 +0930
3 @@ -16,28 +16,28 @@
4  h=`sort busybox.links | uniq`
5  
6  
7 -rm -f $prefix/bin/busybox || exit 1
8 +rm -f $prefix/bin/slingbox || exit 1
9  mkdir -p $prefix/bin || exit 1
10 -install -m 755 busybox $prefix/bin/busybox || exit 1
11 +install -m 755 busybox $prefix/bin/slingbox || exit 1
12  
13  for i in $h ; do
14         appdir=`dirname $i`
15         mkdir -p $prefix/$appdir || exit 1
16         if [ "$2" = "--hardlinks" ]; then
17 -           bb_path="$prefix/bin/busybox"
18 +           bb_path="$prefix/bin/slingbox"
19         else
20             case "$appdir" in
21                 /)
22 -                   bb_path="bin/busybox"
23 +                   bb_path="bin/slingbox"
24                 ;;
25                 /bin)
26 -                   bb_path="busybox"
27 +                   bb_path="slingbox"
28                 ;;
29                 /sbin)
30 -                   bb_path="../bin/busybox"
31 +                   bb_path="../bin/slingbox"
32                 ;;
33                 /usr/bin|/usr/sbin)
34 -                   bb_path="../../bin/busybox"
35 +                   bb_path="../../bin/slingbox"
36                 ;;
37                 *)
38                 echo "Unknown installation directory: $appdir"