aboutsummaryrefslogtreecommitdiffstats
path: root/main/makedepend/APKBUILD
blob: f900b10ee80b6f08ce4f70224f41dbcccd3c0ba5 (plain)
1
2
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
32
33
34
35
36
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=makedepend
pkgver=1.0.5
pkgrel=2
pkgdesc="utility for making makefile dependencies"
url="http://www.freedesktop.org/"
arch="all"
license="MIT"
depends=
makedepends="xorgproto util-macros"
install=""
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/util/${pkgname}-${pkgver}.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e28d71c3ce4f74ca6479771fcdd123c19ab18e3f2aa690a7798237f21f13fca4c4d66d7b7b1d708c2c214b8e17f8fe37e6cf5b75a4d2b88514c50addea2600cb  makedepend-1.0.5.tar.bz2"