Commit 3fba932d6a971b9ac469b7d9f8c1efc71b4c1ec6
1 parent
6adbbd56
Exists in
master
and in
5 other branches
Preparando empacotamento .deb básico
Showing
4 changed files
with
120 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,14 @@ | @@ -0,0 +1,14 @@ | ||
1 | +Source: pw3270 | ||
2 | +Section: unknown | ||
3 | +Priority: optional | ||
4 | +Maintainer: Perry Werneck <perry.werneck@gmail.com> | ||
5 | +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils | ||
6 | + | ||
7 | +Package: pw3270 | ||
8 | +Architecture: any | ||
9 | +Depends: ${shlibs:Depends} | ||
10 | +Description: IBM 3270 Terminal emulator for gtk | ||
11 | + IBM 3270 terminal emulator gtk. It can be used to communicate with | ||
12 | + any IBM host that supports 3270-style connections over TELNET. | ||
13 | + | ||
14 | + |
@@ -0,0 +1,88 @@ | @@ -0,0 +1,88 @@ | ||
1 | +#!/usr/bin/make -f | ||
2 | +# Sample debian/rules that uses debhelper. | ||
3 | +# GNU copyright 1997 to 1999 by Joey Hess. | ||
4 | + | ||
5 | +# Uncomment this to turn on verbose mode. | ||
6 | +#export DH_VERBOSE=1 | ||
7 | + | ||
8 | +# This is the debhelper compatibility version to use. | ||
9 | +export DH_COMPAT=4 | ||
10 | + | ||
11 | +CFLAGS = -g | ||
12 | +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ||
13 | +CFLAGS += -O0 | ||
14 | +else | ||
15 | +CFLAGS += -O2 | ||
16 | +endif | ||
17 | + | ||
18 | +build: build-stamp | ||
19 | +build-stamp: | ||
20 | + dh_testdir | ||
21 | + | ||
22 | + # Add here commands to compile the package. | ||
23 | + ./configure | ||
24 | + make all | ||
25 | + # --- end custom part for compiling | ||
26 | + | ||
27 | + touch build-stamp | ||
28 | + | ||
29 | +clean: | ||
30 | + dh_testdir | ||
31 | + dh_testroot | ||
32 | + rm -f build-stamp | ||
33 | + | ||
34 | + # Add here commands to clean up after the build process. | ||
35 | + make clean || true | ||
36 | + # --- end custom part for cleaning up | ||
37 | + | ||
38 | + dh_clean | ||
39 | + | ||
40 | +install: build | ||
41 | + dh_testdir | ||
42 | + dh_testroot | ||
43 | + dh_clean -k | ||
44 | + dh_installdirs | ||
45 | + | ||
46 | + # Add here commands to install the package | ||
47 | + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/<nameOfPackage> | ||
48 | + make install DESTDIR=/usr/src/packages/BUILD/debian/ace | ||
49 | + # --- end custom part for installing | ||
50 | + | ||
51 | +# Build architecture-independent files here. | ||
52 | +binary-indep: build install | ||
53 | + # We have nothing to do by default. | ||
54 | + | ||
55 | +# Build architecture-dependent files here. | ||
56 | +binary-arch: build install | ||
57 | + dh_testdir | ||
58 | + dh_testroot | ||
59 | +# dh_installdebconf | ||
60 | + dh_installdocs | ||
61 | + dh_installexamples | ||
62 | + dh_installmenu | ||
63 | +# dh_installlogrotate | ||
64 | +# dh_installemacsen | ||
65 | +# dh_installpam | ||
66 | +# dh_installmime | ||
67 | +# dh_installinit | ||
68 | + dh_installcron | ||
69 | + dh_installman | ||
70 | + dh_installinfo | ||
71 | +# dh_undocumented | ||
72 | + dh_installchangelogs | ||
73 | + dh_link | ||
74 | + dh_strip | ||
75 | + dh_compress | ||
76 | + dh_fixperms | ||
77 | +# dh_makeshlibs | ||
78 | + dh_installdeb | ||
79 | +# dh_perl | ||
80 | + dh_shlibdeps | ||
81 | + dh_gencontrol | ||
82 | + dh_md5sums | ||
83 | + dh_builddeb | ||
84 | + | ||
85 | +binary: binary-indep binary-arch | ||
86 | +.PHONY: build clean binary-indep binary-arch binary install | ||
87 | + | ||
88 | + |
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +Format: 1.0 | ||
2 | +Source: pw3270 | ||
3 | +Version: 5.0.0 | ||
4 | +Binary: pw3270 | ||
5 | +Maintainer: Perry Werneck <perry.werneck@gmail.com> | ||
6 | +Architecture: any | ||
7 | +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, libgtk-3-dev, gettext, libssl-dev, desktop-file-utils | ||
8 | +Files: | ||
9 | + 00000000000000000000000000000000 000000 pw3270-5.0.tar.gz | ||
10 | + | ||
11 | + |