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

_builddir="${srcdir}/${pkgname}-${pkgver}"

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

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