|

Zygaena software ports system for the Coral package manager (aka: zports)

Clone
hg clone ssh://hg@leafscale.isurus.dev:2222/zygaena/zports hg clone https://leafscale.isurus.dev/zygaena/zports
Branches
default
Bookmarks
@
836d3bfb74ef docs: XLibre upstream bug reports (threaded-input busy loop, sun_apm.c, os-support sysname)
Chris Tusa <chris.tusa@leafscale.com> 1 day ago

Zygaena Ports Collection

This repository contains the ports tree for the Zygaena operating system.

Structure

ports/
├── base/       Standard Unix utilities
├── devel/      Development tools & libraries
└── lang/       Programming Languages and libraries

Port Format

Each port consists of:

  • package.toml - Package metadata (name, version, dependencies, sources)
  • build.sh - Build script

Example package.toml

[package]
name = "example"
version = "1.0.0"
release = 1
description = "Example package"
url = "https://example.com"
license = "BSD-2-Clause"
maintainer = "Your Name <you@example.com>"
arch = "x86_64"

[dependencies]
runtime = ["libc"]
build = ["gcc", "make"]

[sources]
urls = ["https://example.com/example-1.0.0.tar.gz"]
checksums = ["sha256sum_here"]

[build]
parallel = true

Example build.sh

#!/bin/bash
cd "$WORK_DIR/$PKG_NAME-$PKG_VERSION"
./configure --prefix=/usr
make -j${JOBS:-1}
make DESTDIR="$PKG_DIR" install

Using Ports

Install the Coral package manager, then:

# Search for a package
coral search vim

# Build a package from port
sudo coral build core/vim

# Install a package
sudo coral install vim

Contributing

  1. Fork this repository
  2. Create a new port in the appropriate category
  3. Test the build: sudo coral build category/portname
  4. Submit a pull request

License

BSD-2-Clause

📁base
Languages
Shell 44%
TOML 25%
Diff 11%
Markdown 10%
C 7%
XML 3%
Desktop file 0%
Activity
139 changesets
Updated 1 day ago