diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fc535c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +python-pw3270 (5.1-0) unstable; urgency=low + + * Unstable release + + -- Perry Werneck Thu, 19 Apr 2016 17:38:00 -0300 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..366de8b --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: python-pw3270 +Section: unknown +Priority: optional +Maintainer: Perry Werneck +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, gettext, pw3270-dev + +Package: python-pw3270 +Architecture: any +Depends: ${misc:Depends}, lib3270 (= ${binary:Version}) +Description: PHP Extension Module implementing tn3270 protocol. + This is an extension for acessing 3270 hosts directly from PHP apps. + + diff --git a/debian/python-pw3270.dsc b/debian/python-pw3270.dsc new file mode 100644 index 0000000..5dde1d1 --- /dev/null +++ b/debian/python-pw3270.dsc @@ -0,0 +1,12 @@ +Format: 1.0 +Source: python-pw3270 +Version: 5.1-1 +Binary: python-pw3270 +Maintainer: Perry Werneck +Architecture: any +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, pw3270-dev, python-dev +Standards-Version: 3.9.1.0 +DEBTRANSFORM-RELEASE: 1 +Files: + 00000000000000000000000000000000 000000 php5-pw3270-5.1.tar.gz + diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..d9b8703 --- /dev/null +++ b/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + aclocal + autoconf + + ./configure + + rm -f debian/*.install + make clean + make Release + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + if [ -e Makefile ]; then make clean ; fi + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install ooRexx extension + make DESTDIR=$(PWD)/debian/python-pw3270 install + + # Create updated file lists + find $(PWD)/debian/python-pw3270 -type f | sed -e "s@^$(PWD)/debian/python-pw3270/@/@g" > $(PWD)/debian/python-pw3270.install + + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install -- libgit2 0.21.2