summaryrefslogtreecommitdiffstats
path: root/meta/packages/bzip2/bzip2-1.0.2
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/bzip2/bzip2-1.0.2
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bzip2/bzip2-1.0.2')
-rw-r--r--meta/packages/bzip2/bzip2-1.0.2/installpaths.patch103
1 files changed, 103 insertions, 0 deletions
diff --git a/meta/packages/bzip2/bzip2-1.0.2/installpaths.patch b/meta/packages/bzip2/bzip2-1.0.2/installpaths.patch
new file mode 100644
index 0000000000..e7d09a71c5
--- /dev/null
+++ b/meta/packages/bzip2/bzip2-1.0.2/installpaths.patch
@@ -0,0 +1,103 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- bzip2-1.0.2/Makefile~installpaths
7+++ bzip2-1.0.2/Makefile
8@@ -12,8 +12,12 @@
9 CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
10
11 # Where you want it installed when you do 'make install'
12-PREFIX=/usr
13-
14+DESTDIR=
15+prefix=/usr
16+bindir=$(prefix)/bin
17+mandir=$(prefix)/man
18+includedir=$(prefix)/include
19+libdir=$(prefix)/lib
20
21 OBJS= blocksort.o \
22 huffman.o \
23@@ -58,43 +62,43 @@
24 @cat words3
25
26 install: bzip2 bzip2recover
27- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
28- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
29- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
30- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
31- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
32- cp -f bzip2 $(PREFIX)/bin/bzip2
33- cp -f bzip2 $(PREFIX)/bin/bunzip2
34- cp -f bzip2 $(PREFIX)/bin/bzcat
35- cp -f bzip2recover $(PREFIX)/bin/bzip2recover
36- chmod a+x $(PREFIX)/bin/bzip2
37- chmod a+x $(PREFIX)/bin/bunzip2
38- chmod a+x $(PREFIX)/bin/bzcat
39- chmod a+x $(PREFIX)/bin/bzip2recover
40- cp -f bzip2.1 $(PREFIX)/man/man1
41- chmod a+r $(PREFIX)/man/man1/bzip2.1
42- cp -f bzlib.h $(PREFIX)/include
43- chmod a+r $(PREFIX)/include/bzlib.h
44- cp -f libbz2.a $(PREFIX)/lib
45- chmod a+r $(PREFIX)/lib/libbz2.a
46- cp -f bzgrep $(PREFIX)/bin/bzgrep
47- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
48- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
49- chmod a+x $(PREFIX)/bin/bzgrep
50- cp -f bzmore $(PREFIX)/bin/bzmore
51- ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
52- chmod a+x $(PREFIX)/bin/bzmore
53- cp -f bzdiff $(PREFIX)/bin/bzdiff
54- ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
55- chmod a+x $(PREFIX)/bin/bzdiff
56- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
57- chmod a+r $(PREFIX)/man/man1/bzgrep.1
58- chmod a+r $(PREFIX)/man/man1/bzmore.1
59- chmod a+r $(PREFIX)/man/man1/bzdiff.1
60- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
61- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
62- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
63- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
64+ if ( test ! -d $(DESTDIR)$(bindir) ) ; then mkdir -p $(DESTDIR)$(bindir) ; fi
65+ if ( test ! -d $(DESTDIR)$(libdir) ) ; then mkdir -p $(DESTDIR)$(libdir) ; fi
66+ if ( test ! -d $(DESTDIR)$(mandir) ) ; then mkdir -p $(DESTDIR)$(mandir) ; fi
67+ if ( test ! -d $(DESTDIR)$(mandir)/man1 ) ; then mkdir -p $(DESTDIR)$(mandir)/man1 ; fi
68+ if ( test ! -d $(DESTDIR)$(includedir) ) ; then mkdir -p $(DESTDIR)$(includedir) ; fi
69+ cp -f bzip2 $(DESTDIR)$(bindir)/bzip2
70+ cp -f bzip2 $(DESTDIR)$(bindir)/bunzip2
71+ cp -f bzip2 $(DESTDIR)$(bindir)/bzcat
72+ cp -f bzip2recover $(DESTDIR)$(bindir)/bzip2recover
73+ chmod a+x $(DESTDIR)$(bindir)/bzip2
74+ chmod a+x $(DESTDIR)$(bindir)/bunzip2
75+ chmod a+x $(DESTDIR)$(bindir)/bzcat
76+ chmod a+x $(DESTDIR)$(bindir)/bzip2recover
77+ cp -f bzip2.1 $(DESTDIR)$(mandir)/man1
78+ chmod a+r $(DESTDIR)$(mandir)/man1/bzip2.1
79+ cp -f bzlib.h $(DESTDIR)$(includedir)
80+ chmod a+r $(DESTDIR)$(includedir)/bzlib.h
81+ cp -f libbz2.a $(DESTDIR)$(libdir)
82+ chmod a+r $(DESTDIR)$(libdir)/libbz2.a
83+ cp -f bzgrep $(DESTDIR)$(bindir)/bzgrep
84+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzegrep
85+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzfgrep
86+ chmod a+x $(DESTDIR)$(bindir)/bzgrep
87+ cp -f bzmore $(DESTDIR)$(bindir)/bzmore
88+ ln $(DESTDIR)$(bindir)/bzmore $(DESTDIR)$(bindir)/bzless
89+ chmod a+x $(DESTDIR)$(bindir)/bzmore
90+ cp -f bzdiff $(DESTDIR)$(bindir)/bzdiff
91+ ln $(DESTDIR)$(bindir)/bzdiff $(DESTDIR)$(bindir)/bzcmp
92+ chmod a+x $(DESTDIR)$(bindir)/bzdiff
93+ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(DESTDIR)$(mandir)/man1
94+ chmod a+r $(DESTDIR)$(mandir)/man1/bzgrep.1
95+ chmod a+r $(DESTDIR)$(mandir)/man1/bzmore.1
96+ chmod a+r $(DESTDIR)$(mandir)/man1/bzdiff.1
97+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzegrep.1
98+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzfgrep.1
99+ echo ".so man1/bzmore.1" > $(DESTDIR)$(mandir)/man1/bzless.1
100+ echo ".so man1/bzdiff.1" > $(DESTDIR)$(mandir)/man1/bzcmp.1
101
102 distclean: clean
103 clean: