aboutsummaryrefslogtreecommitdiffstats
path: root/main/makedepend/APKBUILD
blob: aa29325d45ef66a262dbfb59df3a4df58c1a76ac (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
37
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=makedepend
pkgver=1.0.5
pkgrel=1
pkgdesc="utility for making makefile dependencies"
url="http://www.freedesktop.org/"
arch="all"
license="MIT"
depends=
depends_dev=
makedepends="$depends_dev util-macros xproto"
install=""
subpackages="$pkgname-doc"
source="http://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"