New package: gscope3

Closes: #7453 [via git-merge-pr]
This commit is contained in:
cr6git 2017-08-19 22:03:08 +02:00 committed by Michael Aldridge
parent 40d43a3945
commit 000107f659
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- packages/gscope/src/auto_gen.c.bak 2017-08-19 00:44:22.000000000 +0200
+++ packages/gscope/src/auto_gen.c 2017-08-20 18:23:02.247830491 +0200
@@ -3,6 +3,10 @@
#include "config.h"
#endif
+#ifndef ACCESSPERMS
+# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
+#endif
+
#include <stdio.h>
#include <string.h>
#include <dirent.h>

32
srcpkgs/gscope3/template Normal file
View File

@ -0,0 +1,32 @@
# Template file for 'gscope3'
pkgname=gscope3
version=3.10
revision=1
_release=v2.10+v3.10
wrksrc="gscope-2.10-v3.10"
build_wrksrc="packages/gscope3"
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="gtksourceview-devel"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Interactive source code browsing tool for C and other languages"
homepage="https://github.com/tefletch/gscope"
license="MIT"
distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz"
checksum=e530438a42998c3f4f61468f8d917377a22861f39c9b338e42c021a5efe925ed
# configure: error: cannot run C compiled programs.
# If you meant to cross compile, use '--host'.
nocross=yes
pre_configure() {
# automake looks for a COPYING file
cp ${wrksrc}/LICENSE COPYING
./autogen.sh --prefix=/usr
}
post_install() {
vlicense ${wrksrc}/LICENSE
}