termux-packages/packages/libcunit/build.sh
Leonid Pliushch 27afd9e665
auto updates: migrate config from github-projects.txt to build.sh-specific
Re-enable automatic updates after deleting github-projects.txt.

%ci:no-build
2021-10-04 13:43:31 +03:00

25 lines
816 B
Bash

TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/cunit/
TERMUX_PKG_DESCRIPTION="C Unit Testing Framework"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Thibault Meyer <meyer.thibault@gmail.com>"
TERMUX_PKG_VERSION=2.1.3
_VERSION=$(echo "$TERMUX_PKG_VERSION" | sed -E 's/(.*)\./\1-/')
TERMUX_PKG_SRCURL=https://github.com/Linaro/libcunit/releases/download/${_VERSION}/CUnit-${_VERSION}.tar.bz2
TERMUX_PKG_SHA256=f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_AUTO_UPDATE_TAG_REGEXP="\d+\.\d+.\d+"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-automated
--enable-basic
--enable-console
"
termux_step_pre_configure() {
libtoolize --force --copy
aclocal
autoheader
automake --add-missing --include-deps --copy
autoconf
}