diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-05-04 01:20:01 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-05-04 01:28:09 +0200 |
| commit | 3c3cdd8ce40ba48f4bf11469a72d532f72ac389e (patch) | |
| tree | 92e5ff4d5c9220dac06dde130037afa10fe0e905 | |
| parent | 31372f089f2fa8aac6f4c0dca9c30d0c80a7e4df (diff) | |
| download | golang-3c3cdd8ce40ba48f4bf11469a72d532f72ac389e.tar.gz | |
Add -dbg package
| -rw-r--r-- | debian/control | 18 | ||||
| -rwxr-xr-x | debian/rules | 2 |
2 files changed, 16 insertions, 4 deletions
diff --git a/debian/control b/debian/control index d137cc885..4d75c0e0b 100644 --- a/debian/control +++ b/debian/control @@ -14,8 +14,9 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: golang-tools Provides: go-compiler Description: Go programming language compiler - This package provides compiler and linker for the Go programming - language. This is the Google's Go implementation of the tool chain. + This package provides assembler, compiler and linker for the Go + programming language. This is the Google's Go implementation of the + tool chain. . The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and @@ -29,7 +30,7 @@ Description: Go programming language compiler Package: golang-src Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf -Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, golang-go +Depends: ${shlibs:Depends}, ${misc:Depends}, golang-go Recommends: golang-tools Description: Go programming language compiler (.go source files) This package provides the source files for the Go programming @@ -115,3 +116,14 @@ Suggests: golang-go Description: Syntax files to highlight Go in vim Provides a syntax highlighting for vim editor to edit programs written in Google's Go programming language. + +Package: golang-dbg +Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 armel armhf +Depends: ${misc:Depends}, golang-go (= ${binary:Version}) +Recommends: gdb +Section: debug +Priority: extra +Description: Go programming language tool chain [debug] + This package provides the debug symbols for the Google's Go tool + chain binaries (assembler, compiler, linker) needed for properly + debugging errors in the tool chain with gdb. diff --git a/debian/rules b/debian/rules index c39e681b1..fe5500882 100755 --- a/debian/rules +++ b/debian/rules @@ -40,7 +40,7 @@ override_dh_install: make -f debian/native-symlinks.mk override_dh_strip: - dh_strip -X".a" -Xgoinstall -Xgodoc -Xgoyacc -Xbin/cgo -Xebnflint -Xgofmt -Xgovet -Xgotest + dh_strip -X".a" -Xgoinstall -Xgodoc -Xgoyacc -Xbin/cgo -Xebnflint -Xgofmt -Xgovet -Xgotest --dbg-package=golang-dbg debian/build.stamp: rm -f debian/build.stamp |
