24 lines
798 B
Bash
24 lines
798 B
Bash
#!/bin/sh
|
|
name="expat"
|
|
short_desc="XML parser written in C"
|
|
desc="Expat is a stream-oriented XML parser library written in C.
|
|
It excels with files too large to fit RAM, and where performance and flexibility are crucial."
|
|
category="textproc"
|
|
version="2.5.0"
|
|
tag_version="2_5_0"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://libexpat.github.io/"
|
|
master_site="https://github.com/libexpat/libexpat/releases/download/R_$tag_version"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("MIT")
|
|
|
|
build_dependencies=("lang/gcc" "devel/gmake")
|
|
run_dependencies=("system/glibc")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr || exit 1
|
|
make -j$(nproc) || exit 1
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
|
|
} |