aboutsummaryrefslogtreecommitdiffstats
path: root/main/makedepend
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-05 19:19:37 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:40 +0000
commit9f805fb54ddc2e7ef5d3c0bd283cd2e1a0538d12 (patch)
tree25581d5c99cdfd566e0b998ee26dd3e582059f8a /main/makedepend
parent3e4d4b925ad10b61b7eb1bf6aa01067179af5d46 (diff)
downloadaports-9f805fb54ddc2e7ef5d3c0bd283cd2e1a0538d12.tar.bz2
aports-9f805fb54ddc2e7ef5d3c0bd283cd2e1a0538d12.tar.xz
main/makedepend: modernise, add test suite, fix deps
Diffstat (limited to 'main/makedepend')
-rw-r--r--main/makedepend/APKBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/main/makedepend/APKBUILD b/main/makedepend/APKBUILD
index e8f065b4a4..aa29325d45 100644
--- a/main/makedepend/APKBUILD
+++ b/main/makedepend/APKBUILD
@@ -2,34 +2,36 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=makedepend
pkgver=1.0.5
-pkgrel=0
+pkgrel=1
pkgdesc="utility for making makefile dependencies"
url="http://www.freedesktop.org/"
arch="all"
license="MIT"
depends=
depends_dev=
-makedepends="$depends_dev xproto"
+makedepends="$depends_dev util-macros xproto"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/util/${pkgname}-${pkgver}.tar.bz2"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc \
- || return 1
- make || return 1
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="e28d71c3ce4f74ca6479771fcdd123c19ab18e3f2aa690a7798237f21f13fca4c4d66d7b7b1d708c2c214b8e17f8fe37e6cf5b75a4d2b88514c50addea2600cb makedepend-1.0.5.tar.bz2"