equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 # |
2 # |
3 ########################################################################### |
3 ########################################################################### |
4 # |
4 # |
5 # Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
5 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
6 # |
6 # |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
7 # Permission is hereby granted, free of charge, to any person obtaining a |
8 # copy of this software and associated documentation files (the |
8 # copy of this software and associated documentation files (the |
9 # "Software"), to deal in the Software without restriction, including |
9 # "Software"), to deal in the Software without restriction, including |
10 # without limitation the rights to use, copy, modify, merge, publish, |
10 # without limitation the rights to use, copy, modify, merge, publish, |
29 # or other dealings in this Software without prior written authorization |
29 # or other dealings in this Software without prior written authorization |
30 # of the copyright holder. |
30 # of the copyright holder. |
31 # |
31 # |
32 ########################################################################### |
32 ########################################################################### |
33 # |
33 # |
34 # ident "@(#)download-tarballs 1.2 06/05/12 SMI" |
34 # ident "@(#)download-tarballs 1.3 07/01/31 SMI" |
35 # |
35 # |
36 |
36 |
37 CLOBBER=0 |
37 CLOBBER=0 |
38 WGET=/usr/sfw/bin/wget |
38 WGET=/usr/sfw/bin/wget |
39 MAKE_FLAGS="-k" |
39 MAKE_FLAGS="-k" |
62 mkdir tarballs |
62 mkdir tarballs |
63 fi |
63 fi |
64 make $MAKE_FLAGS download |
64 make $MAKE_FLAGS download |
65 cd ../.. |
65 cd ../.. |
66 |
66 |
67 cd XORG_NV/ |
|
68 if [ $CLOBBER = 1 ] ; then |
|
69 rm -rf tarballs |
|
70 fi |
|
71 if [ ! -d tarballs ] ; then |
|
72 mkdir tarballs |
|
73 fi |
|
74 cd tarballs |
|
75 if [ ! -f X11R6.9.0-src.tar.bz2 ] ; then |
|
76 $WGET http://xorg.freedesktop.org/releases/X11R6.9.0/src-single/X11R6.9.0-src.tar.bz2 |
|
77 fi |
|
78 if [ ! -f xf86-video-ati-6.5.8.0.tar.bz2 ] ; then |
|
79 $WGET http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-6.5.8.0.tar.bz2 |
|
80 fi |
|
81 cd ../.. |
|