pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
giflib-32: compat32 package for giflib
Module Name: pkgsrc-wip
Committed By: Naveen Narayanan <zerous@nocebo.space>
Pushed By: zerous
Date: Sun Jun 30 18:01:20 2019 +0200
Changeset: f500624ce4b4a4943d1b2f72d16ae8b53ec99370
Added Files:
giflib-32/DESCR
giflib-32/Makefile
giflib-32/TODO
Log Message:
giflib-32: compat32 package for giflib
giflib is a library for reading and writing gif images. It is API and ABI
compatible with libungif which was in wide use while the LZW compression
algorithm was patented.
This package is intended to crosscompile giflib for i386.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f500624ce4b4a4943d1b2f72d16ae8b53ec99370
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
giflib-32/DESCR | 5 +++++
giflib-32/Makefile | 22 ++++++++++++++++++++++
giflib-32/TODO | 2 ++
3 files changed, 29 insertions(+)
diffs:
diff --git a/giflib-32/DESCR b/giflib-32/DESCR
new file mode 100644
index 0000000000..e51e72393a
--- /dev/null
+++ b/giflib-32/DESCR
@@ -0,0 +1,5 @@
+giflib is a library for reading and writing gif images. It is API and ABI
+compatible with libungif which was in wide use while the LZW compression
+algorithm was patented.
+
+This package is intended to crosscompile giflib for i386.
diff --git a/giflib-32/Makefile b/giflib-32/Makefile
new file mode 100644
index 0000000000..b6487e2a55
--- /dev/null
+++ b/giflib-32/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $
+
+ORIGINAL_PACKAGE= ../../graphics/giflib
+
+ABI?= 32
+ORIGINALPKG!= make -C ${ORIGINAL_PACKAGE}
+PKGNAME= compat${ABI}_giflib-5.1.4
+
+# 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/giflib-32/TODO b/giflib-32/TODO
new file mode 100644
index 0000000000..2b01e5101a
--- /dev/null
+++ b/giflib-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.
Home |
Main Index |
Thread Index |
Old Index