mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
858290ba2d
This commit has been automatically submitted by Github Actions.
21 lines
871 B
Bash
21 lines
871 B
Bash
TERMUX_PKG_HOMEPAGE=http://openfec.org
|
|
TERMUX_PKG_DESCRIPTION="Application-Level Forward Erasure Correction implementation library"
|
|
TERMUX_PKG_LICENSE="CeCILL-C"
|
|
TERMUX_PKG_LICENSE_FILE="LICENCE_CeCILL-C_V1-en.txt"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.4.2.11"
|
|
TERMUX_PKG_SRCURL=https://github.com/roc-project/openfec/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=3b5647ebbe638eec676c2c4e2e5eaf9a02396b32908079f88d1912828eae82e1
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BREAKS="libopenfec-dev"
|
|
TERMUX_PKG_REPLACES="libopenfec-dev"
|
|
|
|
termux_step_make_install() {
|
|
install -Dm600 "$TERMUX_PKG_SRCDIR/bin/Release/libopenfec.so" "$TERMUX_PREFIX/lib/libopenfec.so"
|
|
|
|
cd $TERMUX_PKG_SRCDIR/src
|
|
local include; for include in $(find . -type f -iname \*.h | sed 's@^\./@@'); do
|
|
install -Dm600 "$include" "$TERMUX_PREFIX"/include/openfec/"$include"
|
|
done
|
|
}
|