summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-28 14:52:38 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-28 15:33:47 -0600
commita01f69aaf792db8ff084a9600452a8732d1807c3 (patch)
tree6db94c825c434b740f1320e5d7b868f4213e8c3d
parent8a2ea1ea85e7250186ce56087fca501684fc614f (diff)
downloadaports-a01f69aaf792db8ff084a9600452a8732d1807c3.tar.bz2
aports-a01f69aaf792db8ff084a9600452a8732d1807c3.tar.xz
main/makedepend: new aport
-rw-r--r--main/makedepend/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/makedepend/APKBUILD b/main/makedepend/APKBUILD
new file mode 100644
index 000000000..6c3ca85b6
--- /dev/null
+++ b/main/makedepend/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=makedepend
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="utility for making makefile dependencies"
+url="http://www.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://xorg.freedesktop.org/releases/individual/util/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="4e6cb97bbecfbb34f3f644a75e513093 makedepend-1.0.3.tar.bz2"