Commit b3f42a5f1172412fa3a14044cbee2e03fc0d805b

Authored by Perry Werneck
1 parent 4bf4e90e
Exists in master

Ajustes para empacotamento .deb

debian/changelog 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +pw3270-sharp (5.1-0) unstable; urgency=low
  2 +
  3 + * Unstable release
  4 +
  5 + -- Perry Werneck <perry.werneck@gmail.com> Thu, 19 Apr 2016 17:38:00 -0300
  6 +
... ...
debian/control 0 → 100644
... ... @@ -0,0 +1,13 @@
  1 +Source: pw3270-sharp
  2 +Section: unknown
  3 +Priority: optional
  4 +Maintainer: Perry Werneck <perry.werneck@gmail.com>
  5 +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, gettext, pw3270-dev, mono-dev
  6 +
  7 +Package: pw3270-sharp
  8 +Architecture: any
  9 +Depends: ${misc:Depends}, lib3270 (= ${binary:Version})
  10 +Description: PHP Extension Module implementing tn3270 protocol.
  11 + This is an extension for acessing 3270 hosts directly from PHP apps.
  12 +
  13 +
... ...
debian/pw3270-sharp.dsc 0 → 100644
... ... @@ -0,0 +1,12 @@
  1 +Format: 1.0
  2 +Source: pw3270-sharp
  3 +Version: 5.1-1
  4 +Binary: pw3270-sharp
  5 +Maintainer: Perry Werneck <perry.werneck@gmail.com>
  6 +Architecture: any
  7 +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pw3270-dev, mono-dev
  8 +Standards-Version: 3.9.1.0
  9 +DEBTRANSFORM-RELEASE: 1
  10 +Files:
  11 + 00000000000000000000000000000000 000000 php5-pw3270-5.1.tar.gz
  12 +
... ...
debian/rules 0 → 100644
... ... @@ -0,0 +1,95 @@
  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 + aclocal
  24 + autoconf
  25 +
  26 + ./configure
  27 +
  28 + rm -f debian/*.install
  29 + make clean
  30 + make Release
  31 + # --- end custom part for compiling
  32 +
  33 + touch build-stamp
  34 +
  35 +clean:
  36 + dh_testdir
  37 + dh_testroot
  38 + rm -f build-stamp
  39 +
  40 + # Add here commands to clean up after the build process.
  41 + if [ -e Makefile ]; then make clean ; fi
  42 + # --- end custom part for cleaning up
  43 +
  44 + dh_clean
  45 +
  46 +install: build
  47 + dh_testdir
  48 + dh_testroot
  49 + dh_clean -k
  50 + dh_installdirs
  51 +
  52 + # Install ooRexx extension
  53 + make DESTDIR=$(PWD)/debian/pw3270-sharp install
  54 +
  55 + # Create updated file lists
  56 + find $(PWD)/debian/pw3270-sharp -type f | sed -e "s@^$(PWD)/debian/php5-pw3270/@/@g" > $(PWD)/debian/pw3270-sharp.install
  57 +
  58 + # --- end custom part for installing
  59 +
  60 +# Build architecture-independent files here.
  61 +binary-indep: build install
  62 + # We have nothing to do by default.
  63 +
  64 +# Build architecture-dependent files here.
  65 +binary-arch: build install
  66 + dh_testdir
  67 + dh_testroot
  68 +# dh_installdebconf
  69 + dh_installdocs
  70 + dh_installexamples
  71 + dh_installmenu
  72 +# dh_installlogrotate
  73 +# dh_installemacsen
  74 +# dh_installpam
  75 +# dh_installmime
  76 +# dh_installinit
  77 + dh_installcron
  78 + dh_installman
  79 + dh_installinfo
  80 +# dh_undocumented
  81 + dh_installchangelogs
  82 + dh_link
  83 + dh_strip
  84 + dh_compress
  85 + dh_fixperms
  86 +# dh_makeshlibs
  87 + dh_installdeb
  88 +# dh_perl
  89 + dh_shlibdeps
  90 + dh_gencontrol
  91 + dh_md5sums
  92 + dh_builddeb
  93 +
  94 +binary: binary-indep binary-arch
  95 +.PHONY: build clean binary-indep binary-arch binary install
... ...