pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

heatshrink: a data compression library for embedded/real-time systems



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Thu Nov 23 21:14:30 2023 +1100
Changeset:	c7030a9774e54a6c5cc928f1adb8397123192d52

Modified Files:
	Makefile
Added Files:
	heatshrink/DESCR
	heatshrink/Makefile
	heatshrink/PLIST
	heatshrink/distinfo
	heatshrink/patches/patch-Makefile

Log Message:
heatshrink: a data compression library for embedded/real-time systems

New dependency of prusaslicer.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c7030a9774e54a6c5cc928f1adb8397123192d52

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |  1 +
 heatshrink/DESCR                  |  3 +++
 heatshrink/Makefile               | 17 +++++++++++++++++
 heatshrink/PLIST                  |  8 ++++++++
 heatshrink/distinfo               |  6 ++++++
 heatshrink/patches/patch-Makefile | 27 +++++++++++++++++++++++++++
 6 files changed, 62 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6d557b18cb..575e30f134 100644
--- a/Makefile
+++ b/Makefile
@@ -1379,6 +1379,7 @@ SUBDIR+=	haze
 SUBDIR+=	hcloud
 SUBDIR+=	hdparm
 SUBDIR+=	heaptrack
+SUBDIR+=	heatshrink
 SUBDIR+=	heimdall
 SUBDIR+=	helm
 SUBDIR+=	hengband
diff --git a/heatshrink/DESCR b/heatshrink/DESCR
new file mode 100644
index 0000000000..4f5b6d0968
--- /dev/null
+++ b/heatshrink/DESCR
@@ -0,0 +1,3 @@
+heatshrink is a data compression/decompression library for embedded/real-time
+systems witrh memory usage as low as 50 bytes, incremental, bouded CPU use,
+static or dynamic memory allocation and released under the ISC license.
diff --git a/heatshrink/Makefile b/heatshrink/Makefile
new file mode 100644
index 0000000000..1d20b246c6
--- /dev/null
+++ b/heatshrink/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME=	heatshrink-0.4.1
+CATEGORIES=	archivers
+MASTER_SITES=	${MASTER_SITE_GITHUB:=atomicobject/}
+GITHUB_PROJECT=	heatshrink
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	stix%stix.id.au@localhost
+HOMEPAGE=	https://github.com/atomicobject/heatshrink
+COMMENT=	Data compression library for embedded/real-time systems
+LICENSE=	isc
+
+USE_TOOLS+=		gmake
+INSTALLATION_DIRS+=	bin include lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/heatshrink/PLIST b/heatshrink/PLIST
new file mode 100644
index 0000000000..b34c123154
--- /dev/null
+++ b/heatshrink/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/heatshrink
+include/heatshrink_common.h
+include/heatshrink_config.h
+include/heatshrink_decoder.h
+include/heatshrink_encoder.h
+lib/libheatshrink_dynamic.a
+lib/libheatshrink_static.a
diff --git a/heatshrink/distinfo b/heatshrink/distinfo
new file mode 100644
index 0000000000..93171cc706
--- /dev/null
+++ b/heatshrink/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (heatshrink-0.4.1.tar.gz) = d9d9b4514d60f634ac230cc4261dd1073dc59e4583dc0b99ea15775d99ae6468
+SHA512 (heatshrink-0.4.1.tar.gz) = bb9610b963da0762b1ac21d0907f3801b525431abff495b66cadc244a2b2b334441de2b14442b722bfeb56cb4459fe4021eae0d0454f9e26a80e6efa11f079d2
+Size (heatshrink-0.4.1.tar.gz) = 36945 bytes
+SHA1 (patch-Makefile) = 850722f138ff33828cee09e745ed8b3482abf878
diff --git a/heatshrink/patches/patch-Makefile b/heatshrink/patches/patch-Makefile
new file mode 100644
index 0000000000..63d811a88b
--- /dev/null
+++ b/heatshrink/patches/patch-Makefile
@@ -0,0 +1,27 @@
+$NetBSD$
+
+Use $DESTDIR for installation.
+
+--- Makefile.orig	2015-11-01 15:52:39.000000000 +0000
++++ Makefile
+@@ -65,13 +65,13 @@ INSTALL ?=	install
+ RM ?=		rm
+ 
+ install: libraries heatshrink
+-	${INSTALL} -c heatshrink ${PREFIX}/bin/
+-	${INSTALL} -c libheatshrink_static.a ${PREFIX}/lib/
+-	${INSTALL} -c libheatshrink_dynamic.a ${PREFIX}/lib/
+-	${INSTALL} -c heatshrink_common.h ${PREFIX}/include/
+-	${INSTALL} -c heatshrink_config.h ${PREFIX}/include/
+-	${INSTALL} -c heatshrink_encoder.h ${PREFIX}/include/
+-	${INSTALL} -c heatshrink_decoder.h ${PREFIX}/include/
++	${INSTALL} -c heatshrink ${DESTDIR}/${PREFIX}/bin/
++	${INSTALL} -c libheatshrink_static.a ${DESTDIR}/${PREFIX}/lib/
++	${INSTALL} -c libheatshrink_dynamic.a ${DESTDIR}/${PREFIX}/lib/
++	${INSTALL} -c heatshrink_common.h ${DESTDIR}/${PREFIX}/include/
++	${INSTALL} -c heatshrink_config.h ${DESTDIR}/${PREFIX}/include/
++	${INSTALL} -c heatshrink_encoder.h ${DESTDIR}/${PREFIX}/include/
++	${INSTALL} -c heatshrink_decoder.h ${DESTDIR}/${PREFIX}/include/
+ 
+ uninstall:
+ 	${RM} -f ${PREFIX}/lib/libheatshrink_static.a


Home | Main Index | Thread Index | Old Index