summaryrefslogtreecommitdiff
path: root/system/cflow
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 05:17:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 05:19:05 -0500
commit355a57e9084258ad4d666364fb36e98f59a79c77 (patch)
tree0fbf00fca2a1b15758d172ba8964bd31f7c6ae47 /system/cflow
parentce3dd8d4006760667251cc54e29437111f8f415f (diff)
downloadpackages-355a57e9084258ad4d666364fb36e98f59a79c77.tar.gz
packages-355a57e9084258ad4d666364fb36e98f59a79c77.tar.bz2
packages-355a57e9084258ad4d666364fb36e98f59a79c77.tar.xz
packages-355a57e9084258ad4d666364fb36e98f59a79c77.zip
{user => system}/cflow: move for adelie-base-posix
Diffstat (limited to 'system/cflow')
-rw-r--r--system/cflow/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/system/cflow/APKBUILD b/system/cflow/APKBUILD
new file mode 100644
index 000000000..644be2e42
--- /dev/null
+++ b/system/cflow/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=cflow
+pkgver=1.5
+pkgrel=2
+pkgdesc="Chart control flow in a C program"
+url="https://www.gnu.org/software/cflow/"
+arch="all"
+license="GPL-3.0+"
+makedepends=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://ftp.gnu.org/gnu/cflow/cflow-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-nls
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d3fd027122d9e5ec67712e2ddcea8a3480407b188bf07506b043b874ba21dedb3f1b8eb737673d211da354109869057aa6c40cd3cb66b6cbbad17f87d89cf945 cflow-1.5.tar.xz"