void-packages/srcpkgs/gscope3/template
cr6git 000107f659 New package: gscope3
Closes: #7453 [via git-merge-pr]
2017-09-02 15:14:12 -07:00

33 lines
855 B
Bash

# 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
}