APKBUILD 874 Bytes
Newer Older
1
2
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pkgname=cxref
pkgver=1.6e
pkgrel=0
pkgdesc="C cross-referencing & documentation tool"
url="https://www.gedanken.org.uk/software/cxref/"
arch="all"
options="!check" # No tests
license="GPL-2.0+ AND (GPL-3.0+ WITH Bison-exception-2.2) AND LGPL-2.0+"
depends=""
makedepends="byacc flex"
subpackages="$pkgname-doc"
source="https://www.gedanken.org.uk/software/cxref/download/cxref-$pkgver.tgz"

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

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

sha512sums="3cc713ed1dab3499c3cb95f9451f2100a90ee2bc86787db93395a977f5a95fa06a9682ae507bde498b326dc462e1f78688890960de64bf9bac48ca9149a70a55  cxref-1.6e.tgz"