~ubuntu-branches/ubuntu/precise/nvidia-graphics-drivers-96/precise

« back to all changes in this revision

Viewing changes to debian/upstream_info

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone (tseliot)
  • Date: 2008-07-08 18:49:17 UTC
  • Revision ID: james.westby@ubuntu.com-20080708184917-nnma71l8pyb76owa
Tags: 96.43.05-0ubuntu3
* Recommends nvidia-settings instead of Suggests nvidia-settings
* Put the icon for nvidia-settings in /usr/share/pixmaps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
eval `dpkg-architecture`
 
2
 
 
3
#BASE_VERSION=1.0
 
4
RELEASE=96.43.05
 
5
NEXTVER=96.43.06
 
6
 
 
7
if [ "$DEB_BUILD_ARCH" = "amd64" ] ; then
 
8
        BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86_64/${RELEASE}
 
9
        DIRNAME=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
 
10
        # change this on next version release
 
11
        FILENAME=$DIRNAME.run
 
12
elif [ "$DEB_BUILD_ARCH" = "i386" ] ; then
 
13
        BASE_URL=ftp://download.nvidia.com/XFree86/Linux-x86/${RELEASE}
 
14
        DIRNAME=NVIDIA-Linux-x86-${RELEASE}-pkg0
 
15
        FILENAME="$DIRNAME.run" 
 
16
else
 
17
        echo "huh? dont know about a version of this driver for your architecture."
 
18
        exit 1
 
19
fi
 
20
FILENAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0.run
 
21
FILENAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2.run
 
22
DIRNAME_X86=NVIDIA-Linux-x86-${RELEASE}-pkg0
 
23
DIRNAME_X86_64=NVIDIA-Linux-x86_64-${RELEASE}-pkg2
 
24
 
 
25
VERSION=${RELEASE}
 
26
UPSTREAMVERSION=${RELEASE}
 
27
URL=${BASE_URL}/${FILENAME}
 
28
 
 
29
case "$1" in
 
30
    BASE_VERSION)
 
31
        echo "${BASE_VERSION}"
 
32
        ;;
 
33
    RELEASE)
 
34
        echo "$RELEASE"
 
35
        ;;
 
36
    VERSION)
 
37
        echo "$VERSION"
 
38
        ;;
 
39
    NEXTVER)
 
40
        echo "$NEXTVER"
 
41
        ;;
 
42
    URL)
 
43
        echo "$URL"
 
44
        ;;
 
45
    FILENAME)
 
46
        echo "$FILENAME"
 
47
        ;;
 
48
    FILENAME_X86_64)
 
49
        echo "$FILENAME_X86_64"
 
50
        ;;
 
51
    FILENAME_X86)
 
52
        echo "$FILENAME_X86"
 
53
        ;;
 
54
    DIRNAME_X86_64)
 
55
        echo "$DIRNAME_X86_64"
 
56
        ;;
 
57
    DIRNAME_X86)
 
58
        echo "$DIRNAME_X86"
 
59
        ;;
 
60
    DIRNAME)
 
61
        echo "$DIRNAME"
 
62
        ;;
 
63
    UPSTREAMVERSION)
 
64
        echo "$UPSTREAMVERSION"
 
65
        ;;
 
66
        
 
67
esac
 
68
 
 
69
exit 0