Commit 9d0df7ee6bf3dbcca42c6c7cfe5484628f36de28

Authored by Perry Werneck
1 parent d452e34c
Exists in master and in 1 other branch develop

Adding "deb" control files.

debian/changelog 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +libhllapi (5.2-0) unstable; urgency=low
  2 +
  3 + * Initial Release
  4 +
  5 + -- Perry Werneck <perry.werneck@gmail.com> Wed, 2 May 2012 15:20:56 -0300
  6 +
  7 +
... ...
debian/compat 0 → 100644
... ... @@ -0,0 +1,2 @@
  1 +9
  2 +
... ...
debian/control 0 → 100644
... ... @@ -0,0 +1,30 @@
  1 +Source: libhllapi
  2 +Section: unknown
  3 +Priority: optional
  4 +Maintainer: Perry Werneck <perry.werneck@gmail.com>
  5 +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, gettext, pkg-config, libipc3270-dev
  6 +
  7 +Package: libhllapi
  8 +Architecture: any
  9 +Section: libs
  10 +Depends: ${misc:Depends}, ${shlibs:Depends}
  11 +Recommends: pw3270-plugin-ipc
  12 +Provides: libhllapi (= ${binary:Version})
  13 +Description: HLLAPI client library for lib3270/pw3270.
  14 + HLLAPI client library for pw3270/lib3270
  15 +
  16 +Package: libhllapi-dev
  17 +Architecture: any
  18 +Provides: libhllapi-dev (= ${binary:Version})
  19 +Section: libdevel
  20 +Depends: ${misc:Depends}, libipc3270-dev, libhllapi (= ${binary:Version})
  21 +Description: libhllapi development files.
  22 + HLLAPI client library for pw3270/lib3270 development files
  23 +
  24 +Package: libhllapi-dbg
  25 +Architecture: any
  26 +Depends: libhllapi (= ${binary:Version}), ${misc:Depends}
  27 +Description: Debugging symbols for libhllapi
  28 + This package contains the debugging symbols for libhllapi.
  29 +
  30 +
... ...
debian/libhllapi.dsc 0 → 100644
... ... @@ -0,0 +1,14 @@
  1 +Format: 1.0
  2 +Source: libhllapi
  3 +Version: 5.2-0
  4 +Binary: libhllapi
  5 +Maintainer: Perry Werneck <perry.werneck@gmail.com>
  6 +Architecture: any
  7 +Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, gettext, pkg-config, libipc3270-dev
  8 +libv3270-dev
  9 +Standards-Version: 3.9.1.0
  10 +DEBTRANSFORM-RELEASE: 0
  11 +Files:
  12 + 00000000000000000000000000000000 000000 libhllapi-5.2.tar.bz2
  13 +
  14 +
... ...
debian/rules 0 → 100644
... ... @@ -0,0 +1,103 @@
  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=9
  10 +
  11 +# Name of the package
  12 +PACKAGE_NAME=libhllapi
  13 +
  14 +CFLAGS = -g
  15 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  16 +CFLAGS += -O0
  17 +else
  18 +CFLAGS += -O2
  19 +endif
  20 +
  21 +build: build-stamp
  22 +build-stamp:
  23 + dh_testdir
  24 +
  25 + # Add here commands to compile the package.
  26 + aclocal
  27 + autoconf
  28 +
  29 + mkdir -p scripts
  30 + automake --add-missing 2> /dev/null | true
  31 +
  32 + ./configure --prefix=/usr
  33 + make all
  34 + # --- end custom part for compiling
  35 +
  36 + touch build-stamp
  37 +
  38 +clean:
  39 + dh_testdir
  40 + dh_testroot
  41 + rm -f build-stamp
  42 +
  43 + # Add here commands to clean up after the build process.
  44 + if [ -e Makefile ]; then make clean ; fi
  45 + # --- end custom part for cleaning up
  46 +
  47 + dh_clean
  48 +
  49 +install: build
  50 + dh_testdir
  51 + dh_testroot
  52 + dh_clean -k
  53 + dh_installdirs
  54 +
  55 + # Build package
  56 + make all
  57 +
  58 + # Install libhllapi
  59 + make DESTDIR=$(PWD)/debian/libhllapi install-shared
  60 + find $(PWD)/debian/libhllapi -type f | sed -e "s@^$(PWD)/debian/libhllapi/@/@g" > $(PWD)/debian/libhllapi.install
  61 +
  62 + # Install dev
  63 + make DESTDIR=$(PWD)/debian/libhllapi-dev install-devel
  64 + find $(PWD)/debian/libhllapi-dev -type f | sed -e "s@^$(PWD)/debian/libhllapi-dev/@/@g" > $(PWD)/debian/libhllapi-dev.install
  65 +
  66 + # --- end custom part for installing
  67 +
  68 +# Build architecture-independent files here.
  69 +binary-indep: build install
  70 + # We have nothing to do by default.
  71 +
  72 +# Build architecture-dependent files here.
  73 +binary-arch: build install
  74 + dh_testdir
  75 + dh_testroot
  76 +# dh_installdebconf
  77 + dh_installdocs AUTHORS LICENSE README.md
  78 + dh_installexamples
  79 + dh_installmenu
  80 +# dh_installlogrotate
  81 +# dh_installemacsen
  82 +# dh_installpam
  83 +# dh_installmime
  84 +# dh_installinit
  85 + dh_installcron
  86 + dh_installman
  87 + dh_installinfo
  88 +# dh_undocumented
  89 + dh_installchangelogs
  90 + dh_link
  91 + dh_strip --dbg-package=libhllapi-dbg
  92 + dh_compress
  93 + dh_fixperms
  94 + dh_makeshlibs
  95 + dh_installdeb
  96 +# dh_perl
  97 + dh_shlibdeps
  98 + dh_gencontrol
  99 + dh_md5sums
  100 + dh_builddeb
  101 +
  102 +binary: binary-indep binary-arch
  103 +.PHONY: build clean binary-indep binary-arch binary install
... ...