termux-packages/packages/libyaml/build.sh

15 lines
464 B
Bash

TERMUX_PKG_HOMEPAGE=https://pyyaml.org/wiki/LibYAML
TERMUX_PKG_DESCRIPTION="LibYAML is a YAML 1.1 parser and emitter written in C"
TERMUX_PKG_VERSION=0.2.1
TERMUX_PKG_SHA256=1d2aeb87f7d317f1496e4c39410d913840714874a354970300f375eec9303dc4
TERMUX_PKG_SRCURL=https://github.com/yaml/libyaml/archive/$TERMUX_PKG_VERSION.tar.gz
termux_step_pre_configure() {
./bootstrap
}
termux_step_post_make_install() {
cd $TERMUX_PREFIX/lib
ln -s -f libyaml-0.so libyaml.so
}