git: a46abcf0d774 - main - devel/linux-c7-zlib-devel: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Sep 2022 11:26:49 UTC
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=a46abcf0d7744b19926cb2e53483a63a30f7e029 commit a46abcf0d7744b19926cb2e53483a63a30f7e029 Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2022-09-11 11:24:48 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2022-09-11 11:26:30 +0000 devel/linux-c7-zlib-devel: Add new port This contains the headers to build Linux software using zlib. Also add USE_LINUX=zlib-devel. Approved by: tijl, tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D35902 --- Mk/Uses/linux.mk | 1 + devel/Makefile | 1 + devel/linux-c7-zlib-devel/Makefile | 23 +++++++++++++++++++++++ devel/linux-c7-zlib-devel/distinfo | 9 +++++++++ devel/linux-c7-zlib-devel/pkg-descr | 1 + devel/linux-c7-zlib-devel/pkg-plist.aarch64 | 8 ++++++++ devel/linux-c7-zlib-devel/pkg-plist.amd64 | 10 ++++++++++ devel/linux-c7-zlib-devel/pkg-plist.i386 | 8 ++++++++ 8 files changed, 61 insertions(+) diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk index 1a8a28f5008f..85b4020407d6 100644 --- a/Mk/Uses/linux.mk +++ b/Mk/Uses/linux.mk @@ -136,6 +136,7 @@ _linux_${linux_ARGS}_userspace-rcu= linux-${linux_ARGS}-userspace-rcu>0:sysutils _linux_c7_wayland= linux-c7-wayland>0:graphics/linux-c7-wayland _linux_c7_xcb-util= linux-c7-xcb-util>0:x11/linux-c7-xcb-util _linux_c7_xorglibs= linux-c7-xorg-libs>=7.7_7:x11/linux-c7-xorg-libs +_linux_c7_zlib-devel= linux-c7-zlib-devel>0:devel/linux-c7-zlib-devel USE_LINUX?= base . for i in ${USE_LINUX} diff --git a/devel/Makefile b/devel/Makefile index e3cd6b440aa3..2868f3a8ed8b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1419,6 +1419,7 @@ SUBDIR += linux-c7-sdl20 SUBDIR += linux-c7-strace SUBDIR += linux-c7-systemd-libs + SUBDIR += linux-c7-zlib-devel SUBDIR += linux-ltp SUBDIR += linux-sublime-merge SUBDIR += linux_libusb diff --git a/devel/linux-c7-zlib-devel/Makefile b/devel/linux-c7-zlib-devel/Makefile new file mode 100644 index 000000000000..90a85dfc1c14 --- /dev/null +++ b/devel/linux-c7-zlib-devel/Makefile @@ -0,0 +1,23 @@ +PORTNAME= zlib +PORTVERSION= 1.2.7 +DISTVERSIONSUFFIX= -18.el7 +CATEGORIES= devel linux +PKGNAMESUFFIX= -devel + +MAINTAINER= emulation@FreeBSD.org +COMMENT= Zlib headers (Linux CentOS ${LINUX_DIST_VER}) +WWW= http://zlib.net/ + +LICENSE= ZLIB + +USES= cpe linux:c7 +USE_LDCONFIG= yes +USE_LINUX_RPM= yes + +LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL} + +DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.mk> diff --git a/devel/linux-c7-zlib-devel/distinfo b/devel/linux-c7-zlib-devel/distinfo new file mode 100644 index 000000000000..f8d85deaf296 --- /dev/null +++ b/devel/linux-c7-zlib-devel/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1658737766 +SHA256 (centos/zlib-devel-1.2.7-18.el7.aarch64.rpm) = 7b5f44e3de91b6e3230b159bc0a2cce6fe3b9e4d589a20130fc517b866e02d4b +SIZE (centos/zlib-devel-1.2.7-18.el7.aarch64.rpm) = 50604 +SHA256 (centos/zlib-devel-1.2.7-18.el7.i686.rpm) = 90fff9f5f0da00a5e8964c424b293a0e9eb565b0a0c2d8bdeffa4f19a14200c7 +SIZE (centos/zlib-devel-1.2.7-18.el7.i686.rpm) = 51164 +SHA256 (centos/zlib-devel-1.2.7-18.el7.x86_64.rpm) = 80429b07f1dd83e41aa54505f3eb9be3be9c5cb21972617cac56ad46fd68a8ae +SIZE (centos/zlib-devel-1.2.7-18.el7.x86_64.rpm) = 51128 +SHA256 (centos/zlib-1.2.7-18.el7.src.rpm) = dce23cdfa1698c7a23995fc0d192608b5dbfde6d284edeffa41b6aaeff212940 +SIZE (centos/zlib-1.2.7-18.el7.src.rpm) = 527066 diff --git a/devel/linux-c7-zlib-devel/pkg-descr b/devel/linux-c7-zlib-devel/pkg-descr new file mode 100644 index 000000000000..76a21f146242 --- /dev/null +++ b/devel/linux-c7-zlib-devel/pkg-descr @@ -0,0 +1 @@ +These are the headers for the zlib library in linux-c7. diff --git a/devel/linux-c7-zlib-devel/pkg-plist.aarch64 b/devel/linux-c7-zlib-devel/pkg-plist.aarch64 new file mode 100644 index 000000000000..c8e6ede71029 --- /dev/null +++ b/devel/linux-c7-zlib-devel/pkg-plist.aarch64 @@ -0,0 +1,8 @@ +usr/include/zconf.h +usr/include/zlib.h +usr/lib64/libz.so +usr/lib64/pkgconfig/zlib.pc +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/algorithm.txt +%%PORTDOCS%%%%DOCSDIR%%/example.c +usr/share/man/man3/zlib.3.gz diff --git a/devel/linux-c7-zlib-devel/pkg-plist.amd64 b/devel/linux-c7-zlib-devel/pkg-plist.amd64 new file mode 100644 index 000000000000..45cbb3cc93bb --- /dev/null +++ b/devel/linux-c7-zlib-devel/pkg-plist.amd64 @@ -0,0 +1,10 @@ +usr/include/zconf.h +usr/include/zlib.h +usr/lib/libz.so +usr/lib/pkgconfig/zlib.pc +usr/lib64/libz.so +usr/lib64/pkgconfig/zlib.pc +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/algorithm.txt +%%PORTDOCS%%%%DOCSDIR%%/example.c +usr/share/man/man3/zlib.3.gz diff --git a/devel/linux-c7-zlib-devel/pkg-plist.i386 b/devel/linux-c7-zlib-devel/pkg-plist.i386 new file mode 100644 index 000000000000..2561834a0639 --- /dev/null +++ b/devel/linux-c7-zlib-devel/pkg-plist.i386 @@ -0,0 +1,8 @@ +usr/include/zconf.h +usr/include/zlib.h +usr/lib/libz.so +usr/lib/pkgconfig/zlib.pc +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/algorithm.txt +%%PORTDOCS%%%%DOCSDIR%%/example.c +usr/share/man/man3/zlib.3.gz