aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-05-15 19:57:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-15 20:00:00 +0000
commit5ee09e6cc7b2a4b26f0f037e25d6989e29ee70db (patch)
tree024d18d68f2ef63e080e805f68b51066150cbadf
parentddbd6d569bd3ec9e23aab783bd73f8144c967fb6 (diff)
downloadaports-5ee09e6cc7b2a4b26f0f037e25d6989e29ee70db.tar.bz2
aports-5ee09e6cc7b2a4b26f0f037e25d6989e29ee70db.tar.xz
community/gccmakedep: new aport, new depends of nx-libs
-rw-r--r--community/gccmakedep/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gccmakedep/APKBUILD b/community/gccmakedep/APKBUILD
new file mode 100644
index 0000000000..99444ddf85
--- /dev/null
+++ b/community/gccmakedep/APKBUILD
@@ -0,0 +1,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"