summaryrefslogblamecommitdiff
path: root/system/cflow/APKBUILD
blob: 352a75c734851f216b12d6d9d0a90686b00d13fb (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
          
        


                                           

                  


                                                           




                      
         










                                         
         


                  
           


                                      
                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cflow
pkgver=1.7
pkgrel=0
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"

# secfixes:
#   1.7-r0:
#     - CVE-2019-16165
#     - CVE-2019-16166

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-nls
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e92a559c5a7141b6c94b700b91e5737b22ddd8236771ebef420a71f2d3a979a64339f56163a16b00e11125f5730927dad29f39ab1c154ceefe3ac4d622c82b02  cflow-1.7.tar.xz"