diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-05 11:14:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-05 11:14:07 +0000 |
commit | 937faa93c49b516adbff8083d48a2fafd1591461 (patch) | |
tree | 1f7800f9531d29896e7326d68ebec69dd9512f23 /testing/makedepend/APKBUILD | |
parent | 7541bbd6fa664e4d67718aa380c5585e99803827 (diff) | |
download | aports-937faa93c49b516adbff8083d48a2fafd1591461.tar.bz2 aports-937faa93c49b516adbff8083d48a2fafd1591461.tar.xz |
testing/makedepend: new aport
create dependencies in makefiles
http://www.x.org
Diffstat (limited to 'testing/makedepend/APKBUILD')
-rw-r--r-- | testing/makedepend/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/makedepend/APKBUILD b/testing/makedepend/APKBUILD new file mode 100644 index 000000000..60252123a --- /dev/null +++ b/testing/makedepend/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=makedepend +pkgver=1.0.3 +pkgrel=0 +pkgdesc="create dependencies in makefiles" +url="http://www.x.org" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev xproto" +install="" +subpackages="$pkgname-doc" +source="http://ftp.x.org/pub/individual/util/makedepend-$pkgver.tar.bz2" + +_builddir="$srcdir"/makedepend-$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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="4e6cb97bbecfbb34f3f644a75e513093 makedepend-1.0.3.tar.bz2" |