blob: 6284fcd558b0bc99dbae692d4891b9a8f55d2a85 (
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
|
diff -aur package.pristine/Makefile package.new/Makefile
--- package.pristine/Makefile 2016-02-06 01:55:14.650150309 +0100
+++ package.new/Makefile 2016-02-06 01:57:56.012174364 +0100
@@ -29,26 +29,26 @@
ocaml -I js-utils js-utils/gen_install.ml
install: $(NAME).install
- opam-installer -i --prefix $(PREFIX) $(NAME).install
+ opam-installer -i --prefix $(PREFIX) --libdir $(LIBDIR) $(NAME).install
uninstall: $(NAME).install
- opam-installer -u --prefix $(PREFIX) $(NAME).install
+ opam-installer -u --prefix $(PREFIX) --libdir $(LIBDIR) $(NAME).install
reinstall: $(NAME).install
- opam-installer -u --prefix $(PREFIX) $(NAME).install &> /dev/null || true
- opam-installer -i --prefix $(PREFIX) $(NAME).install
+ opam-installer -u --prefix $(PREFIX) --libdir $(LIBDIR) $(NAME).install &> /dev/null || true
+ opam-installer -i --prefix $(PREFIX) --libdir $(LIBDIR) $(NAME).install
bin.tar.gz: $(NAME).install
rm -rf _install
mkdir _install
- opam-installer -i --prefix _install $(NAME).install
+ opam-installer -i --prefix _install --libdir $(LIBDIR) $(NAME).install
tar czf bin.tar.gz -C _install .
rm -rf _install
bin.lzo: $(NAME).install
rm -rf _install
mkdir _install
- opam-installer -i --prefix _install $(NAME).install
+ opam-installer -i --prefix _install --libdir $(LIBDIR) $(NAME).install
cd _install && lzop -1 -P -o ../bin.lzo `find . -type f`
rm -rf _install
|