Dash:
[t2.git] / package / x86 / cpuid / install.patch
blobe48c453e4bccbcd9889a23fb9e87e993338e3ef2
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../cpuid/install.patch
5 # Copyright (C) 2007 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- cpuid-3.3/Makefile.vanilla 2007-06-21 17:25:27.000000000 +0200
18 +++ cpuid-3.3/Makefile 2007-06-21 17:26:35.000000000 +0200
19 @@ -1,7 +1,12 @@
20 +prefix=/usr/local
22 CFLAGS=-O2 -Wall
24 cpuid: cpuid.o
25 - gcc -o $@ $^
26 + $(CC) -o $@ $^
28 +install: cpuid
29 + install cpuid $(DESTDIR)$(prefix)/bin
31 clean:
32 rm -f *.o cpuid