pkgsrc-WIP-changes archive

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

lcms2-32: compat32 package for lcms2



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Sun Jun 30 18:12:20 2019 +0200
Changeset:	51586fedb63d27244d6b7f1f8175b040fa834c65

Added Files:
	lcms2-32/DESCR
	lcms2-32/Makefile
	lcms2-32/TODO
	lcms2-32/distinfo

Log Message:
lcms2-32: compat32 package for lcms2

LittleCMS is a CMM, a color management engine; it implements fast
transforms between ICC profiles.

This package is intended to crosscompile lcms2 for i386.

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

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

diffstat:
 lcms2-32/DESCR    |  9 +++++++++
 lcms2-32/Makefile | 22 ++++++++++++++++++++++
 lcms2-32/TODO     |  2 ++
 lcms2-32/distinfo |  6 ++++++
 4 files changed, 39 insertions(+)

diffs:
diff --git a/lcms2-32/DESCR b/lcms2-32/DESCR
new file mode 100644
index 0000000000..34e8b846c8
--- /dev/null
+++ b/lcms2-32/DESCR
@@ -0,0 +1,9 @@
+LittleCMS is a CMM, a color management engine; it implements fast
+transforms between ICC profiles. "Little" stands for its small
+overhead. With a typical footprint of about 100K including C runtime,
+you can color-enable your application without the pain of ActiveX,
+OCX, redistributables or binaries of any kind. We are using little cms
+in several commercial projects, however, we are offering lcms library
+free for anybody under an extremely liberal open source license.
+
+This package is intended to crosscompile lcms2 for i386.
diff --git a/lcms2-32/Makefile b/lcms2-32/Makefile
new file mode 100644
index 0000000000..f13471930a
--- /dev/null
+++ b/lcms2-32/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $
+
+ORIGINAL_PACKAGE=       ../../graphics/lcms2
+
+ABI?=           	32
+ORIGINALPKG!=		make -C ${ORIGINAL_PACKAGE}	
+PKGNAME=		compat${ABI}_lcms2-2.9
+
+# XXX make a definition for netbsd archs.
+LIBABISUFFIX?=          /32
+CONFIGURE_ARGS+=        --libdir=${PREFIX}/lib${LIBABISUFFIX}
+CFLAGS+=                -m32
+
+remove-non-libraries:
+	echo "Removing non-compat library package content"
+	find ${DESTDIR}${PREFIX} -path ${DESTDIR}${PREFIX}/lib${LIBABISUFFIX} -prune -o -type f -exec ${RM} {} +
+
+post-install: remove-non-libraries
+
+GENERATE_PLIST= ${SED} -n '/^lib/ s;lib;lib${LIBABISUFFIX};p' ${ORIGINAL_PACKAGE}/PLIST;
+
+.include "${ORIGINAL_PACKAGE}/Makefile"
diff --git a/lcms2-32/TODO b/lcms2-32/TODO
new file mode 100644
index 0000000000..2b01e5101a
--- /dev/null
+++ b/lcms2-32/TODO
@@ -0,0 +1,2 @@
+Please note that this package isn't functional yet.
+NetBSD make seems to be calling gmake with the wrong flags.
diff --git a/lcms2-32/distinfo b/lcms2-32/distinfo
new file mode 100644
index 0000000000..91ba944750
--- /dev/null
+++ b/lcms2-32/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (lcms2-2.9.tar.gz) = 60bea9875e017dd1c466e988c2ad98f8766e4e55
+RMD160 (lcms2-2.9.tar.gz) = 0003ffd3561e6ed787be81b5ed7b7af52211fe19
+SHA512 (lcms2-2.9.tar.gz) = 70b1c51fa8d137d5072425e580745ff1fbf49c6e8bb1da0a8adb0647d3b7c095208793cb02de1e8d1a01363b8575fa60c61bedbff99bbec57a44228239cb00e5
+Size (lcms2-2.9.tar.gz) = 10974649 bytes


Home | Main Index | Thread Index | Old Index