blob: d3981d964bd36c059d7887078f260c5a02212626 (
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
|
# Contributor: Harry
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cgdb
pkgver=0.6.6
pkgrel=0
pkgdesc="The Curses Debugger"
arch="all"
license=GPL
url="http://cgdb.sourceforge.net/"
depends="ncurses-dev readline-dev gdb"
source="http://downloads.sourceforge.net/project/cgdb/cgdb/cgdb-$pkgver/cgdb-$pkgver.tar.gz"
subpackages="$pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure --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="394b542b495755ab8392b7e88dace744 cgdb-0.6.6.tar.gz"
|