[med-svn] [Git][med-team/libgzstream][upstream] New upstream version 1.5+git20171107.9a20658

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Sep 10 08:27:49 BST 2021



Andreas Tille pushed to branch upstream at Debian Med / libgzstream


Commits:
ce91e19c by Andreas Tille at 2021-09-10T08:13:44+02:00
New upstream version 1.5+git20171107.9a20658
- - - - -


3 changed files:

- + .gitignore
- Makefile
- + README.md


Changes:

=====================================
.gitignore
=====================================
@@ -0,0 +1 @@
+*.o


=====================================
Makefile
=====================================
@@ -59,6 +59,12 @@ test:    test_gzip test_gunzip
 	rm gz.tmp.gz gz.tmp
 	# *** O.K. Test finished successfully. ***
 
+install: libgzstream.a test
+	cp libgzstream.a /usr/lib
+	cp gzstream.h /usr/include
+	chmod o+r /usr/include/gzstream.h
+	# *** O.K. Installation finished successfully. ***
+
 gzstream.o : gzstream.C gzstream.h
 	${CXX} ${CPPFLAGS} -c -o gzstream.o gzstream.C
 
@@ -83,6 +89,9 @@ clean :
 cleanall :
 	rm *.o libgzstream.a test_gzip test_gunzip
 
+uninstall:
+	rm /usr/include/gzstream.h /usr/lib/libgzstream.a
+
 # ============================================================================
 # EOF
 


=====================================
README.md
=====================================
@@ -0,0 +1,45 @@
+gzstream
+========
+
+This is only a mirror of the original gzstream-library developed by The Computational Geometry Group at UNC Chapel Hill. For more information about this lib, see the [cs.unc.ed homepage](http://www.cs.unc.edu/Research/compgeom/gzstream/)
+
+installation
+------------
+
+to install please make sure you have zlib installed. In ubuntu its included in package `zlib1g-dev`.  
+Download the project or clone it with
+```
+git clone https://github.com/kanedo/gzstream.git
+```
+  
+change into the dir
+```
+cd gzstream
+```
+now type 
+```
+sudo make install
+``` 
+to install gzstream.
+
+This will will compile the gzstream library, test it and install it to the folllowing locations:  
+`/usr/include/gzstream.h`  
+`/usr/lib/libgzstream.a`  
+
+remove library
+--------------
+
+To remove the library just use the make file and type
+```
+sudo make uninstall
+```
+
+usage
+-----
+
+To use the library with `Make` make sure you add `-lgzstream` and `-lz` to your `LDFLAGS`.
+
+FAQ
+---
+I get `undefined reference to gzstream` error:  
+make sure you add the LDFlags at the end



View it on GitLab: https://salsa.debian.org/med-team/libgzstream/-/commit/ce91e19c3a6e70952fc3b8183d95eaa7c40d6c0b

-- 
View it on GitLab: https://salsa.debian.org/med-team/libgzstream/-/commit/ce91e19c3a6e70952fc3b8183d95eaa7c40d6c0b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210910/facdf88d/attachment-0001.htm>


More information about the debian-med-commit mailing list