pkgsrc-WIP-changes archive

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

compat32_giflib: Rename giflib-32 to compat32_giflib



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Tue Jul 23 13:40:17 2019 +0200
Changeset:	4841b1d459555dea45fc5dc4b399efd9c98dd4cf

Added Files:
	compat32_giflib/DESCR
	compat32_giflib/Makefile
	compat32_giflib/Makefile.common
	compat32_giflib/PLIST
	compat32_giflib/TODO
	compat32_giflib/buildlink3.mk

Log Message:
compat32_giflib: Rename giflib-32 to compat32_giflib

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

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

diffstat:
 compat32_giflib/DESCR           |  5 +++++
 compat32_giflib/Makefile        | 13 +++++++++++++
 compat32_giflib/Makefile.common | 27 +++++++++++++++++++++++++++
 compat32_giflib/PLIST           |  3 +++
 compat32_giflib/TODO            |  2 ++
 compat32_giflib/buildlink3.mk   | 15 +++++++++++++++
 6 files changed, 65 insertions(+)

diffs:
diff --git a/compat32_giflib/DESCR b/compat32_giflib/DESCR
new file mode 100644
index 0000000000..e51e72393a
--- /dev/null
+++ b/compat32_giflib/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/compat32_giflib/Makefile b/compat32_giflib/Makefile
new file mode 100644
index 0000000000..56711689ea
--- /dev/null
+++ b/compat32_giflib/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.48 2013/08/31 18:41:33 adam Exp $
+
+.include "Makefile.common"
+
+COMMENT=		GIF image format library
+
+CONFLICTS+=		libungif-[0-9]*
+
+GNU_CONFIGURE_PREFIX=	${PREFIX}/emul/netbsd32/
+BUILD_DIRS=		lib
+INSTALL_DIRS=		lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/compat32_giflib/Makefile.common b/compat32_giflib/Makefile.common
new file mode 100644
index 0000000000..c053a2c69b
--- /dev/null
+++ b/compat32_giflib/Makefile.common
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile.common,v 1.11 2016/05/01 20:28:44 leot Exp $
+# used by graphics/giflib/Makefile
+# used by graphics/giflib-util/Makefile
+
+DISTNAME=	giflib-5.1.4
+ABI=		32
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=giflib/}
+EXTRACT_SUFX=	.tar.bz2
+PKGNAME=	compat${ABI}_${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://giflib.sourceforge.net/
+LICENSE=	mit
+
+#PATCHDIR=	${.CURDIR}/../../graphics/giflib/patches
+DISTINFO_FILE=	${.CURDIR}/../../graphics/giflib/distinfo
+
+USE_LANGUAGES=		c c++
+USE_LIBTOOL=		yes
+GNU_CONFIGURE=		yes
+
+SUBST_CLASSES+=		split
+SUBST_FILES.split+=	util/Makefile.in
+SUBST_SED.split+=	-e 's,../lib/libgif.la,$$(prefix)/lib/libgif.la,g'
+SUBST_MESSAGE.split=	Change Makefile for giflib-util split-off.
+SUBST_STAGE.split=	pre-configure
diff --git a/compat32_giflib/PLIST b/compat32_giflib/PLIST
new file mode 100644
index 0000000000..0ff2a030d1
--- /dev/null
+++ b/compat32_giflib/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+emul/netbsd32/include/gif_lib.h
+emul/netbsd32/lib/libgif.la
diff --git a/compat32_giflib/TODO b/compat32_giflib/TODO
new file mode 100644
index 0000000000..2b01e5101a
--- /dev/null
+++ b/compat32_giflib/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/compat32_giflib/buildlink3.mk b/compat32_giflib/buildlink3.mk
new file mode 100644
index 0000000000..7b58b56a68
--- /dev/null
+++ b/compat32_giflib/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.6 2014/05/31 23:44:19 wiz Exp $
+
+BUILDLINK_TREE+=	compat32_giflib
+
+.if !defined(COMPAT32_GIFLIB_BUILDLINK3_MK)
+COMPAT32_GIFLIB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.compat32_giflib+=	compat32_giflib>=5.1.0
+BUILDLINK_PKGSRCDIR.compat32_giflib?=	../../wip/giflib-32
+BUILDLINK_LIBDIRS.compat32_giflib=	emul/netbsd32/lib
+BUILDLINK_INCDIRS.compat32_giflib=	emul/netbsd32/include
+
+.endif	# COMPAT32_GIFLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-compat32_giflib


Home | Main Index | Thread Index | Old Index