diff options
Diffstat (limited to 'main/makedepend/APKBUILD')
-rw-r--r-- | main/makedepend/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/makedepend/APKBUILD b/main/makedepend/APKBUILD new file mode 100644 index 0000000000..6c3ca85b6a --- /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" |