1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/ncompress/install-symlink.patch
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- ncompress-5.0/Makefile.def.vanilla 2023-01-22 22:33:00.726480098 +0100
15 +++ ncompress-5.0/Makefile.def 2023-01-22 22:33:26.847479782 +0100
17 mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
18 cp compress $(DESTDIR)$(BINDIR)/compress
19 rm -f $(DESTDIR)$(BINDIR)/uncompress
20 - ln $(DESTDIR)$(BINDIR)/compress $(DESTDIR)$(BINDIR)/uncompress
21 + ln -svf compress $(DESTDIR)$(BINDIR)/uncompress
22 cp compress.1 uncompress.1 $(DESTDIR)$(MANDIR)/.
23 chmod 0644 $(DESTDIR)$(MANDIR)/compress.1 $(DESTDIR)$(MANDIR)/uncompress.1