From 50c4afa3d40c327a5d9e3130782062f0f904f6c5 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Mon, 3 Oct 2022 17:43:08 +0200 Subject: [PATCH] testing/cflow: new aport Analyzes a collection of C source files and prints a graph, charting control flow within the program. https://www.gnu.org/software/cflow/ Signed-off-by: Olliver Schinagl --- testing/cflow/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/cflow/APKBUILD diff --git a/testing/cflow/APKBUILD b/testing/cflow/APKBUILD new file mode 100644 index 00000000000..b237c9285cd --- /dev/null +++ b/testing/cflow/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Olliver Schinagl +# Maintainer: Olliver Schinagl +# apkbuild-lint hints +# New package do not suffer from legacy style. The default linting style +# is to match the old stuff. +export SKIP_AL3='true' +export SKIP_AL4='true' +export SKIP_AL32='true' +# end apkbuild-lint hints +pkgname='cflow' +pkgver='1.7' +pkgrel=0 +pkgdesc='Analyzes a collection of C source files and prints a graph, charting control flow within the program.' +url='https://www.gnu.org/software/cflow/' +arch='all' +license='GPL-3.0-or-later' +options="!check" +makedepends=' + gettext-dev + musl-utils +' +subpackages="${pkgname}-doc ${pkgname}-lang" +source="https://ftp.gnu.org/gnu/cflow/cflow-${pkgver}.tar.xz" + +build() { + ./configure \ + --build="${CBUILD}" \ + --host="${CHOST}" \ + --mandir='/usr/share/man' \ + --prefix='/usr' \ + --sysconfdir='/etc' \ + ; + make ${JOBS:+--jobs ${JOBS}} +} + +package() { + make DESTDIR="${pkgdir}" install +} + +sha512sums=" +e92a559c5a7141b6c94b700b91e5737b22ddd8236771ebef420a71f2d3a979a64339f56163a16b00e11125f5730927dad29f39ab1c154ceefe3ac4d622c82b02 cflow-1.7.tar.xz +" -- GitLab