new package: libcunit (#6319)
This commit is contained in:
parent
45b4b5fa65
commit
87abb34255
21
packages/libcunit/build.sh
Normal file
21
packages/libcunit/build.sh
Normal 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
|
||||||
|
}
|
22
packages/libcunit/doc-makefile-am.patch
Normal file
22
packages/libcunit/doc-makefile-am.patch
Normal 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 \
|
Loading…
Reference in New Issue
Block a user