new package: libcunit (#6319)

This commit is contained in:
Thibault Meyer 2021-01-28 20:25:23 +01:00 committed by GitHub
parent 45b4b5fa65
commit 87abb34255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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
TERMUX_PKG_SRCURL=https://github.com/Linaro/libcunit/releases/download/2.1-3/CUnit-2.1-3.tar.bz2
TERMUX_PKG_SHA256=f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
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
}

View File

@ -0,0 +1,22 @@
diff -uNr CUnit-2.1-3/doc/Makefile.am CUnit-2.1-3.mod/doc/Makefile.am
--- CUnit-2.1-3/doc/Makefile.am 2014-04-24 03:54:45.000000000 +0300
+++ CUnit-2.1-3.mod/doc/Makefile.am 2021-01-28 21:15:41.452347087 +0200
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-docdir = $(prefix)/doc/@PACKAGE@
+docdir = $(prefix)/share/doc/@PACKAGE@
doc_DATA = \
CUnit_doc.css \
diff -uNr CUnit-2.1-3/doc/headers/Makefile.am CUnit-2.1-3.mod/doc/headers/Makefile.am
--- CUnit-2.1-3/doc/headers/Makefile.am 2014-04-24 03:54:45.000000000 +0300
+++ CUnit-2.1-3.mod/doc/headers/Makefile.am 2021-01-28 21:10:42.601482549 +0200
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-dochdrdir = $(prefix)/doc/@PACKAGE@/headers
+dochdrdir = $(prefix)/share/doc/@PACKAGE@/headers
INCLUDE_FILES = \
Automated.h \