aboutsummaryrefslogtreecommitdiffstats
path: root/community/gccmakedep/APKBUILD
blob: 99444ddf852735038f537bbec9e5c0bd545851fa (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gccmakedep
pkgver=1.0.3
pkgrel=0
pkgdesc="Create dependencies in makefiles using 'gcc -M'"
url="https://gitlab.freedesktop.org/xorg/util/gccmakedep"
arch="all"
license="MIT"
makedepends="automake autoconf libtool util-macros"
subpackages="$pkgname-doc"
source="https://gitlab.freedesktop.org/xorg/util/gccmakedep/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

prepare() {
	default_prepare
	sh ./autogen.sh
}

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="a9b2323e17a28a4621705881d8a09ff8902aaa17ca9db91cb0f68cb384989ea39d5857dd3759befab1dd0faf8b1966e7cbd503b5cf16f28cf5739f2608bdeb2f  gccmakedep-gccmakedep-1.0.3.tar.gz"