Unverified Commit 871d2b77 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

ytree: 2.06 -> 2.10 (#414123)

parents 87494914 b61506cf
Loading
Loading
Loading
Loading
+10 −20
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile
-DESTDIR     = /usr
+PREFIX      = /usr

 ADD_CFLAGS  = -O # -DVI_KEYS
 ADD_CFLAGS  = # -DVI_KEYS

-BINDIR      = $(DESTDIR)/bin
-MANDIR      = $(DESTDIR)/share/man/man1
@@ -19,21 +19,11 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile


 # Uncomment the lines for your system (default is linux)
@@ -224,14 +224,14 @@
 
@@ -221,7 +221,7 @@
 install:	$(MAIN)
 		if [ ! -e $(BINDIR) ]; then mkdir -p $(BINDIR); fi
 		install $(MAIN) $(BINDIR)
-		gzip -9c ytree.1 > ytree.1.gz
+		gzip -n -9c ytree.1 > ytree.1.gz
 		if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz  $(MANDIR)/; fi
-		gzip -9c ytree.1.es > ytree.1.es.gz
+		gzip -n -9c ytree.1.es > ytree.1.es.gz
 		if [ -d $(MANESDIR) ]; then install -m 0644 ytree.1.es.gz $(MANESDIR)/; fi
 
 clean:
 		rm -f core *.o *~ *.orig *.bak 
-		
+
 clobber:	clean
 		rm -f $(MAIN) ytree.1.es.gz ytree.1.gz
 
 		if [ ! -e $(MANDIR) ]; then mkdir -p $(MANDIR); fi
 		install -m 0644 ytree.1.gz  $(MANDIR)/
+2 −2
Original line number Diff line number Diff line
@@ -8,11 +8,11 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "ytree";
  version = "2.06";
  version = "2.10";

  src = fetchurl {
    url = "https://han.de/~werner/ytree-${finalAttrs.version}.tar.gz";
    hash = "sha256-QRqI779ZnnytVUC7A7Zt0zyWexRwBnp+CVQcNvnvWeY=";
    hash = "sha256-O7u9MvVoza4+A/xzWxeD2MumBaLKYFbRuXEUPX3dUX0=";
  };

  patches = [