aboutsummaryrefslogtreecommitdiffstats
path: root/main/cgdb/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-31 07:54:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-31 07:55:13 +0000
commit8b9c7d4fe36f38bcd9c215b511d529bfad064caf (patch)
treecf038c4fa77c3bca6a46c4f02c1905dad683bd5d /main/cgdb/APKBUILD
parent3676937c92d028495b4fdc43388a5791951f1b0c (diff)
downloadaports-8b9c7d4fe36f38bcd9c215b511d529bfad064caf.tar.bz2
aports-8b9c7d4fe36f38bcd9c215b511d529bfad064caf.tar.xz
main/cgdb: moved from testing
Diffstat (limited to 'main/cgdb/APKBUILD')
-rw-r--r--main/cgdb/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/cgdb/APKBUILD b/main/cgdb/APKBUILD
new file mode 100644
index 0000000000..d3981d964b
--- /dev/null
+++ b/main/cgdb/APKBUILD
@@ -0,0 +1,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"
+
+