termux-packages/packages/libyaml/build.sh

15 lines
464 B
Bash
Raw Normal View History

2018-05-25 12:38:52 +02:00
TERMUX_PKG_HOMEPAGE=https://pyyaml.org/wiki/LibYAML
2017-09-06 23:21:36 +02:00
TERMUX_PKG_DESCRIPTION="LibYAML is a YAML 1.1 parser and emitter written in C"
2018-07-02 00:16:50 +02:00
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
}