pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/libxml2-32: compat32 package for libxml2
Module Name: pkgsrc-wip
Committed By: Naveen Narayanan <zerous@nocebo.space>
Pushed By: zerous
Date: Fri Jun 21 07:26:06 2019 +0200
Changeset: 322f7d21b228238ebd5f7395c39e1a9823f7b5e0
Modified Files:
wine32/DESCR
Added Files:
libxml2-32/DESCR
libxml2-32/Makefile
libxml2-32/TODO
Log Message:
wip/libxml2-32: compat32 package for libxml2
XML parser library from the GNOME project.
This package is intended to crosscompile libxml2 for i386.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=322f7d21b228238ebd5f7395c39e1a9823f7b5e0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libxml2-32/DESCR | 2 ++
libxml2-32/Makefile | 22 ++++++++++++++++++++++
libxml2-32/TODO | 2 ++
wine32/DESCR | 2 ++
4 files changed, 28 insertions(+)
diffs:
diff --git a/libxml2-32/DESCR b/libxml2-32/DESCR
new file mode 100644
index 0000000000..c027aaa5c5
--- /dev/null
+++ b/libxml2-32/DESCR
@@ -0,0 +1,2 @@
+XML parser library from the GNOME project.
+This package is intended to crosscompile libxml2 for i386.
diff --git a/libxml2-32/Makefile b/libxml2-32/Makefile
new file mode 100644
index 0000000000..a5fa42db2f
--- /dev/null
+++ b/libxml2-32/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $
+
+ORIGINAL_PACKAGE= ../../textproc/libxml2
+
+ABI?= 32
+ORIGINAL_PKGNAME!= make -V PKGNAME -C ${ORIGINAL_PACKAGE}
+PKGNAME= compat${ABI}_${ORIGINAL_PKGNAME}
+
+# 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/libxml2-32/TODO b/libxml2-32/TODO
new file mode 100644
index 0000000000..2b01e5101a
--- /dev/null
+++ b/libxml2-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/wine32/DESCR b/wine32/DESCR
index 5d522929a2..b447f2fcbd 100644
--- a/wine32/DESCR
+++ b/wine32/DESCR
@@ -2,3 +2,5 @@ Wine is a program which facilitates running Microsoft Windows Programs
on Unix. It acts as a compatibility layer by translating Windows API
calls into POSIX calls on the fly; thereby allowing you to run Windows
Applications on your UNIX desktop.
+
+Note: This package is intended for i386 only.
Home |
Main Index |
Thread Index |
Old Index