devel/libds 2.2 FreeBSD
ANSI Generic Data Structures Library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD4CLAUSE
- Categories
- devel
- Package size
- 37.4 KiB, 158.6 KiB installed
Description
LibDS is a small but powerful and easy to use library containing a few very useful data structures. Currently, the following data structures are supported:
- a balanced binary tree (an AVL tree);
- a binary HEAP;
- a QUEUE;
- a HASH table;
- a SET and a BAG;
- a variable length array that can grows dynamically as new elements are added or deleted (PARRAY).
- a STACK;
LibDS has been designed to be very easy to use, without sacrificing either flexibility or speed. The API is small, and clean.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/libds | 2.2 |
| DragonFly | devel/libds | 2.2 |
Install
Binary package:
pkg install libds
From the ports tree:
cd /usr/ports/devel/libds/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libds>0:devel/libds
LIB_DEPENDS= libds.so:devel/libds
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 | 2.2 | 2.2 | 2.2 | 2.2 | 2.2 |
| FreeBSD:14:quarterly | 2.2 | 2.2 | n/a | 2.2 | 2.2 |
| FreeBSD:15:latest | 2.2 | 2.2 | n/a | 2.2 | 2.2 |
| FreeBSD:15:quarterly | 2.2 | 2.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2 | 2.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
No port depends on this one.
Configuration
Options name: devel_libds
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- Service scripts
- none
Message after installing
Files
pkg-plist 12
- include/ds.h
- lib/libds.a
- lib/libds.so
- lib/libds.so.1
- share/doc/libds/avltree.html
- share/doc/libds/hashtbl.html
- share/doc/libds/heap.html
- share/doc/libds/index.html
- share/doc/libds/parray.html
- share/doc/libds/queue.html
- share/doc/libds/set.html
- share/doc/libds/stack.html
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libds-2.2.tar.gz | 49619 | cf2a8f4b4a754f43c91cbb9cdd26b355a4ab3c0d87e7fa9ade6532d5566aea57 |
Master sites 1
- SF/libds/libds/libds-2.2
Commit history 0
No commits in the history this site was built from.