1
0
forked from ports/contrib

libzen: initial commit

This commit is contained in:
Tim Biermann 2019-06-11 23:45:46 +02:00
parent 9ce8b280e7
commit 82f53746ef
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 82 additions and 0 deletions

50
libzen/.footprint Normal file
View File

@ -0,0 +1,50 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/ZenLib/
-rw-r--r-- root/root usr/include/ZenLib/BitStream.h
-rw-r--r-- root/root usr/include/ZenLib/BitStream_Fast.h
-rw-r--r-- root/root usr/include/ZenLib/BitStream_LE.h
-rw-r--r-- root/root usr/include/ZenLib/Conf.h
-rw-r--r-- root/root usr/include/ZenLib/Conf_Internal.h
-rw-r--r-- root/root usr/include/ZenLib/CriticalSection.h
-rw-r--r-- root/root usr/include/ZenLib/Dir.h
-rw-r--r-- root/root usr/include/ZenLib/File.h
-rw-r--r-- root/root usr/include/ZenLib/FileName.h
drwxr-xr-x root/root usr/include/ZenLib/Format/
drwxr-xr-x root/root usr/include/ZenLib/Format/Html/
-rw-r--r-- root/root usr/include/ZenLib/Format/Html/Html_Handler.h
-rw-r--r-- root/root usr/include/ZenLib/Format/Html/Html_Request.h
drwxr-xr-x root/root usr/include/ZenLib/Format/Http/
-rw-r--r-- root/root usr/include/ZenLib/Format/Http/Http_Cookies.h
-rw-r--r-- root/root usr/include/ZenLib/Format/Http/Http_Handler.h
-rw-r--r-- root/root usr/include/ZenLib/Format/Http/Http_Request.h
-rw-r--r-- root/root usr/include/ZenLib/Format/Http/Http_Utils.h
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client.h
drwxr-xr-x root/root usr/include/ZenLib/HTTP_Client/
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client/HTTPClient.h
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client/HTTPClientAuth.h
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client/HTTPClientCommon.h
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client/HTTPClientString.h
-rw-r--r-- root/root usr/include/ZenLib/HTTP_Client/HTTPClientWrapper.h
-rw-r--r-- root/root usr/include/ZenLib/InfoMap.h
-rw-r--r-- root/root usr/include/ZenLib/MemoryDebug.h
-rw-r--r-- root/root usr/include/ZenLib/MemoryUtils.h
-rw-r--r-- root/root usr/include/ZenLib/OS_Utils.h
-rw-r--r-- root/root usr/include/ZenLib/PreComp.h
-rw-r--r-- root/root usr/include/ZenLib/Thread.h
-rw-r--r-- root/root usr/include/ZenLib/Trace.h
-rw-r--r-- root/root usr/include/ZenLib/Translation.h
-rw-r--r-- root/root usr/include/ZenLib/Utils.h
-rw-r--r-- root/root usr/include/ZenLib/Ztring.h
-rw-r--r-- root/root usr/include/ZenLib/ZtringList.h
-rw-r--r-- root/root usr/include/ZenLib/ZtringListList.h
-rw-r--r-- root/root usr/include/ZenLib/ZtringListListF.h
-rw-r--r-- root/root usr/include/ZenLib/int128s.h
-rw-r--r-- root/root usr/include/ZenLib/int128u.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libzen.la
lrwxrwxrwx root/root usr/lib/libzen.so -> libzen.so.0.0.0
lrwxrwxrwx root/root usr/lib/libzen.so.0 -> libzen.so.0.0.0
-rwxr-xr-x root/root usr/lib/libzen.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libzen.pc

5
libzen/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34E5FCZ8atYGrld6Ri7fo4fM/kMgdtcOvjgAA2EU1NQ0Zba+42MwcPobP50yj9Q3qykm2Vv7r3YCsoDMA9liOQw=
SHA256 (Pkgfile) = 1581b68f5dc7892677bed7ccbcc45de399ea628f98ecc770b3dab8e91734b0d8
SHA256 (.footprint) = ed7f5525432ff8a28c25094df9b623789c97b1cd8f9a772a456081713fa951e2
SHA256 (libzen_0.4.37.tar.bz2) = 132cdc8b994e01de86436851d5b1c930f7a6cb683be3d94e5b46ddbfd45b78b6

27
libzen/Pkgfile Normal file
View File

@ -0,0 +1,27 @@
# Description: shared library for libmediainfo and mediainfo
# URL: https://mediaarea.net/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=libzen
version=0.4.37
release=1
source=(https://mediaarea.net/download/source/libzen/$version/libzen_$version.tar.bz2)
build() {
cd ZenLib/Project/GNU/Library
./autogen.sh
./configure --prefix=/usr --enable-shared
make
make DESTDIR="$PKG" install
install -dm 755 "$PKG"/usr/include/ZenLib
install -m 644 "$SRC"/ZenLib/Source/ZenLib/*.h "$PKG"/usr/include/ZenLib
for i in HTTP_Client Format/Html Format/Http; do
install -dm0755 "$PKG"/usr/include/ZenLib/$i
install -m0644 "$SRC"/ZenLib/Source/ZenLib/$i/*.h "$PKG"/usr/include/ZenLib/$i
done
install -dm 755 "$PKG"/usr/lib/pkgconfig
install -m 644 "$SRC"/ZenLib/Project/GNU/Library/libzen.pc "$PKG"/usr/lib/pkgconfig
sed -i -e 's|Version: $|Version: '$version'|g' "$PKG"/usr/lib/pkgconfig/libzen.pc
}