Skip to content

Commit 88abee7

Browse files
author
Prakash Surya
committed
Add Ubuntu package definition
1 parent 8e58f43 commit 88abee7

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

debian/control

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Source: gdb-python
2+
Section: misc
3+
Priority: optional
4+
Maintainer: Delphix Engineering <eng@delphix.com>
5+
Standards-Version: 4.1.2
6+
7+
Package: gdb-python
8+
Conflicts: gdb, gdbserver
9+
Architecture: any
10+
Description: Python extensions to GDB

debian/rules

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/make -f
2+
3+
SOURCE_NAME := $(shell dpkg-parsechangelog | sed -rne "s,^Source: (.*),\1,p")
4+
5+
%:
6+
dh $@
7+
8+
override_dh_auto_configure:
9+
dh_auto_configure -- --with-python=/usr/bin/python3.6
10+
11+
override_dh_auto_build:
12+
$(MAKE) all-gdb
13+
14+
override_dh_auto_install:
15+
$(MAKE) install-gdb DESTDIR=$(CURDIR)/debian/$(SOURCE_NAME)
16+
17+
override_dh_auto_test:

0 commit comments

Comments
 (0)