summaryrefslogtreecommitdiff
path: root/user/cflow/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 14:18:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 14:18:18 +0000
commitc88e7676e94c11e3b199ae2bb465307206fbb0a7 (patch)
treee5cd89ad0fa367374e61e969b6c4d7bbc058ac9a /user/cflow/APKBUILD
parent4dffcd235c726c6425edbdc00a1e4c88b2e0e875 (diff)
downloadpackages-c88e7676e94c11e3b199ae2bb465307206fbb0a7.tar.gz
packages-c88e7676e94c11e3b199ae2bb465307206fbb0a7.tar.bz2
packages-c88e7676e94c11e3b199ae2bb465307206fbb0a7.tar.xz
packages-c88e7676e94c11e3b199ae2bb465307206fbb0a7.zip
user/cflow: new package
Diffstat (limited to 'user/cflow/APKBUILD')
-rw-r--r--user/cflow/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/cflow/APKBUILD b/user/cflow/APKBUILD
new file mode 100644
index 000000000..9191dc66e
--- /dev/null
+++ b/user/cflow/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=cflow
+pkgver=1.5
+pkgrel=0
+pkgdesc="Chart control flow in a C program"
+url="https://www.gnu.org/software/cflow/"
+arch="all"
+license="GPL"
+makedepends="gettext-dev"
+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
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d3fd027122d9e5ec67712e2ddcea8a3480407b188bf07506b043b874ba21dedb3f1b8eb737673d211da354109869057aa6c40cd3cb66b6cbbad17f87d89cf945 cflow-1.5.tar.xz"