Package definitions for the complete DarkForge Linux system: - core/ (67): base system, toolchain, kernel, utilities, dev tools - extra/ (26): libraries, frameworks, drivers (nvidia-open, pipewire, mesa) - desktop/ (19): Wayland stack, dwl compositor, terminals, applications - gaming/ (12): Steam, Wine, Proton, gamemode, mangohud, PrismLauncher Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
804 B
TOML
32 lines
804 B
TOML
# DarkForge Linux — Package Definition: zlib
|
|
# This serves as the canonical example of the .dpack format.
|
|
|
|
[package]
|
|
name = "zlib"
|
|
version = "1.3.1"
|
|
description = "Compression library implementing the deflate algorithm"
|
|
url = "https://zlib.net/"
|
|
license = "zlib"
|
|
|
|
[source]
|
|
url = "https://zlib.net/zlib-${version}.tar.xz"
|
|
sha256 = "38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32"
|
|
|
|
[dependencies]
|
|
run = []
|
|
build = ["gcc", "make"]
|
|
|
|
[dependencies.optional]
|
|
static = { description = "Build static library", default = true }
|
|
minizip = { description = "Build minizip utility", deps = [] }
|
|
|
|
[build]
|
|
configure = "./configure --prefix=/usr"
|
|
make = "make"
|
|
install = "make DESTDIR=${PKG} install"
|
|
|
|
# Per-package flag overrides (empty = use global defaults)
|
|
[build.flags]
|
|
cflags = ""
|
|
ldflags = ""
|