1
0
Fork 0
frozenports/devel/libxo/SCHEMATIC

30 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="libxo"
short_desc="Library to generate text, XML, JSON, and HTML output"
desc="libxo - A Library for Generating Text, XML, JSON, and HTML Output
The libxo library allows an application to generate text, XML, JSON,
and HTML output using a common set of function calls. The application
decides at run time which output style should be produced. The
application calls a function "xo_emit" to product output that is
described in a format string. A 'field descriptor' tells libxo what
the field is and what it means."
category="devel"
version="1.6.0"
maintainer="ffqq@danwin1210.de"
www="https://github.com/Juniper/libxo"
master_site="https://github.com/Juniper/libxo/releases/download/$version"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("BSD-2-CLAUSE")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
patch -p1 < $TAMANDUA_FILES_DIR/portability.patch || exit 1
./configure --prefix=/usr || exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install
}