33 lines
855 B
Bash
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
|
||
|
}
|
||
|
|