blob: c48111c42b404f0ecb354bc3944905c0a1661b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
diff -Naur bibus-1.4.0rc2/Makefile bibus-1.4.0rc2.new/Makefile
--- bibus-1.4.0rc2/Makefile 2007-11-18 12:14:42.000000000 -0500
+++ bibus-1.4.0rc2.new/Makefile 2008-02-08 08:59:23.000000000 -0500
@@ -42,23 +42,23 @@
chmod 755 $(datadir)/bibus/bibusStart.py
# basic doc files
- install -m755 -d $(datadir)/doc/bibus
- install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/bibus
+ install -m755 -d $(datadir)/doc/GENTOO-PF
+ install -m644 Docs/*.txt Docs/CHANGELOG Docs/copying $(datadir)/doc/GENTOO-PF
# generating bibus.cfg file
echo '[PATH]' > $(datadir)/bibus/bibus.cfg
echo 'python = $(python)' >> $(datadir)/bibus/bibus.cfg
echo 'oopath = $(oopath)' >> $(datadir)/bibus/bibus.cfg
- echo 'docdir = $(datadir)/doc/bibus/html' >> $(datadir)/bibus/bibus.cfg
- echo 'licence = $(datadir)/doc/bibus/copying' >> $(datadir)/bibus/bibus.cfg
- echo 'localedir = $(datadir)/locale' >> $(datadir)/bibus/bibus.cfg
- echo 'systemconf = $(sysconfdir)/bibus.config' >> $(datadir)/bibus/bibus.cfg
+ echo 'docdir = /usr/share/doc/GENTOO-PF/html' >> $(datadir)/bibus/bibus.cfg
+ echo 'licence = /usr/share/doc/GENTOO-PF/copying' >> $(datadir)/bibus/bibus.cfg
+ echo 'localedir = /usr/share/locale' >> $(datadir)/bibus/bibus.cfg
+ echo 'systemconf = /etc/bibus.config' >> $(datadir)/bibus/bibus.cfg
endef
define install-doc-en
# copying docs in from Docs/html/en/ for bibus-doc-en
cd Docs;\
- find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/bibus/'{}' ';'
+ find html/en/* -type f -exec install -m644 '{}' -D $(datadir)/doc/GENTOO-PF/'{}' ';'
endef
define compile
@@ -85,7 +85,7 @@
echo "find $(datadir)/locale -name bibus.mo -exec rm -f {} \;" >> $(datadir)/bibus/Setup/uninstall.sh
echo "rm $(sysconfdir)/bibus.config" >> $(datadir)/bibus/Setup/uninstall.sh
echo "rm $(man1dir)/bibus.1" >> $(datadir)/bibus/Setup/uninstall.sh
- echo "rm -rf $(datadir)/doc/bibus" >> $(datadir)/bibus/Setup/uninstall.sh
+ echo "rm -rf $(datadir)/doc/GENTOO-PF" >> $(datadir)/bibus/Setup/uninstall.sh
echo "rm $(datadir)/applications/bibus.desktop" >> $(datadir)/bibus/Setup/uninstall.sh
echo "rm $(datadir)/icons/hicolor/48x48/apps/bibus.png" >> $(datadir)/bibus/Setup/uninstall.sh
chmod 744 $(datadir)/bibus/Setup/uninstall.sh
diff -Naur bibus-1.4.0rc2/Setup/bibus.sh bibus-1.4.0rc2.new/Setup/bibus.sh
--- bibus-1.4.0rc2/Setup/bibus.sh 2007-11-18 12:14:42.000000000 -0500
+++ bibus-1.4.0rc2.new/Setup/bibus.sh 2008-02-08 08:57:57.000000000 -0500
@@ -1,4 +1,4 @@
#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/openoffice/program
export PYTHONPATH=/usr/lib/openoffice/program
-exec /usr/bin/python /usr/local/share/bibus/bibus.py
+exec /usr/bin/python /usr/share/bibus/bibus.py
|