devel/klib g20250105 FreeBSD
Standalone and lightweight C library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 82.5 KiB, 355.8 KiB installed
Description
Klib is a standalone and lightweight C library distributed under MIT/X11 license. Most components are independent of external libraries, except the standard C library, and independent of each other. To use a component of this library, you only need to copy a couple of files to your source code tree without worrying about library dependencies.
Klib strives for efficiency and a small memory footprint. Some components, such as hash table, B-tree, vector and sorting algorithms, are among the most efficient implementations of similar algorithms or data structures in all programming languages, in terms of both speed and memory use.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/klib | g20250105 |
| DragonFly | devel/klib | g20250105 |
Install
Binary package:
pkg install klib
From the ports tree:
cd /usr/ports/devel/klib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= klib>0:devel/klib
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | g20250105 | g20250105 | - | g20250105 | g20250105 |
| FreeBSD:14:quarterly | g20250105 | g20250105 | n/a | g20250105 | g20250105 |
| FreeBSD:15:latest | g20250105 | g20250105 | n/a | g20250105 | g20250105 |
| FreeBSD:15:quarterly | g20250105 | g20250105 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20250105 | g20250105 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
check>0: devel/check
The full lists below include those, and their dependencies in turn.
Required by 1
Configuration
No options to configure.
- Service scripts
- none
Files
pkg-plist 46
- include/klib/bgzf.c
- include/klib/bgzf.h
- include/klib/cpp/kavl.hpp
- include/klib/cpp/khash.hpp
- include/klib/cpp/khashl.hpp
- include/klib/kalloc.c
- include/klib/kalloc.h
- include/klib/kavl-lite.h
- include/klib/kavl.h
- include/klib/kbit.h
- include/klib/kbtree.h
- include/klib/kdq.h
- include/klib/keigen.c
- include/klib/keigen.h
- include/klib/ketopt.h
- include/klib/kexpr.c
- include/klib/kexpr.h
- include/klib/kgraph.h
- include/klib/khash.h
- include/klib/khashl.h
- include/klib/khmm.c
- include/klib/khmm.h
- include/klib/klist.h
- include/klib/kmath.c
- include/klib/kmath.h
- include/klib/knetfile.c
- include/klib/knetfile.h
- include/klib/knhx.c
- include/klib/knhx.h
- include/klib/kopen.c
- include/klib/krmq.h
- include/klib/krng.h
- include/klib/ksa.c
- include/klib/kseq.h
- include/klib/kson.c
- include/klib/kson.h
- include/klib/ksort.h
- include/klib/kstring.c
- include/klib/kstring.h
- include/klib/ksw.c
- include/klib/ksw.h
- include/klib/kthread.c
- include/klib/kthread.h
- include/klib/kurl.c
- include/klib/kurl.h
- include/klib/kvec.h
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| attractivechaos-klib-g20250105-ba6b352_GH0.tar.gz | 127425 | 624a10babbe177086bd42b87a515027a7073f2939447e4030914e9572b13c910 |
Commit history 0
No commits in the history this site was built from.