wok view nbs/stuff/Makefile.u @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents
children
line source
1 --- Makefile.org 2008-04-30 10:55:30.000000000 +0200
2 +++ Makefile 2008-04-30 11:03:26.000000000 +0200
3 @@ -8,17 +8,17 @@
4 all: nbsd $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) nbscat
6 install: all
7 - mkdir -p /usr/lib
8 - mkdir -p /usr/sbin
9 - mkdir -p /usr/include
10 - install -m 755 nbsd /usr/sbin/nbsd
11 - install -m 755 nbscat /usr/bin/nbscat
12 - install -m 755 nbscat8k /usr/bin/nbscat8k
13 - install -m 644 nbs.h /usr/include/nbs.h
14 - install -m 755 $(DYNAMIC_LIBRARY) /usr/lib
15 - ( cd /usr/lib ; ln -sf libnbs.so.1 libnbs.so )
16 - install -m 755 $(STATIC_LIBRARY) /usr/lib
17 - /sbin/ldconfig
18 + mkdir -p $(DESTDIR)/usr/lib
19 + mkdir -p $(DESTDIR)/usr/bin
20 + mkdir -p $(DESTDIR)/usr/sbin
21 + mkdir -p $(DESTDIR)/usr/include
22 + install -m 755 nbsd $(DESTDIR)/usr/sbin/nbsd
23 + install -m 755 nbscat $(DESTDIR)/usr/bin/nbscat
24 + install -m 755 nbscat8k $(DESTDIR)/usr/bin/nbscat8k
25 + install -m 644 nbs.h $(DESTDIR)/usr/include/nbs.h
26 + install -m 755 $(DYNAMIC_LIBRARY) $(DESTDIR)/usr/lib
27 + ( cd $(DESTDIR)/usr/lib ; ln -sf libnbs.so.1 libnbs.so )
28 + install -m 755 $(STATIC_LIBRARY) $(DESTDIR)/usr/lib
30 %.lo : %.c
31 $(CC) -fPIC $(CFLAGS) -o $@ -c $<