blob: baadf7657c9990f926e1418769ce56d304f6b66a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Harry
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgdb
pkgver=0.6.8
pkgrel=3
pkgdesc="The Curses Debugger"
arch="all"
license="GPL2"
url="http://cgdb.sourceforge.net/"
depends="gdb"
makedepends="flex bison texinfo help2man ncurses-dev readline-dev"
source="http://cgdb.me/files/cgdb-$pkgver.tar.gz"
subpackages="$pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libdir=/usr/lib \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make install \
pkgconfigdir="/usr/lib/pkgconfig" \
DESTDIR="$pkgdir" || return 1
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/share/cgdb "$pkgdir"/usr/share/doc/
}
md5sums="7bd38c79bf4d794d239928fef401fca3 cgdb-0.6.8.tar.gz"
sha256sums="be203e29be295097439ab67efe3dc8261f742c55ff3647718d67d52891f4cf41 cgdb-0.6.8.tar.gz"
sha512sums="22580f0c2ad9c4f4efc429f94465fe54518c38f5efc95fa544ebbd93188d8e2ec740d7c3f22df1447df9af96eb4a317e4a4fbf5c771173f86ebdccbcbd776ab2 cgdb-0.6.8.tar.gz"
|