summaryrefslogblamecommitdiff
path: root/user/cflow/APKBUILD
blob: 9191dc66e0e90693d3123773331d233147815dee (plain) (tree)































                                                                                                                                                               
# 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"