mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 08:17:14 +02:00
38 lines
956 B
Text
38 lines
956 B
Text
# Contributor: Cliff Free <nucular.limozeen@gmail.com>
|
|
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
pkgname=cscope
|
|
pkgver=15.9
|
|
pkgrel=1
|
|
pkgdesc="Cscope is a developer's tool for browsing source code."
|
|
url="https://cscope.sourceforge.net/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="ncurses-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/cscope/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
# update config sub to support loongarch64
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="f3b95da5eb5c036cd39215785990c7cce7ce7b8eda4b18e60792e70d01ffb63809ce32ace310a9aefd88e6761c1609039ccfab0e8e49f81730bc1630babbcb80 cscope-15.9.tar.gz"
|