Browse Source

Add Debian package files

Stéphane Raimbault 17 năm trước cách đây
mục cha
commit
1ced38d979
6 tập tin đã thay đổi với 82 bổ sung0 xóa
  1. 6 0
      debian/changelog
  2. 37 0
      debian/control
  3. 32 0
      debian/copyright
  4. 3 0
      debian/libmodbus-dev.install
  5. 1 0
      debian/libmodbus.install
  6. 3 0
      debian/rules

+ 6 - 0
debian/changelog

@@ -0,0 +1,6 @@
+libmodbus (2.0.0-1) stable; urgency=low
+
+  * Initial release.
+
+ -- Stéphane Raimbault <stephane.raimbault@gmail.com>  Wed, 14 May 2008 22:30:53 +0200
+

+ 37 - 0
debian/control

@@ -0,0 +1,37 @@
+Source: libmodbus
+Priority: extra
+Maintainer: Stéphane Raimbault <stephane.raimbault@gmail.com>
+Standards-Version: 3.7.3
+Section: libs
+Build-Depends: debhelper (>= 5.0.37.2),
+               cdbs (>= 0.4.43),
+               autotools-dev,
+               dpkg-dev (>= 1.13.19)
+
+Package: libmodbus
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: A Modbus library in C, which supports RTU communication over a serial line or a TCP link.
+ A Modbus library for Linux (and OSX) wrote in C and which supports
+ RTU communication over a serial line or a TCP link. Clean and fast!
+ Supports controling an RTU and being an RTU.
+ .
+ This package contains the shared library.
+
+Package: libmodbus-dev
+Section: libdevel
+Architecture: any
+Depends: libmodbus (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: A Modbus library in C, which supports RTU communication over a serial line or a TCP link.
+ A Modbus library for Linux (and OSX) wrote in C and which supports
+ RTU communication over a serial line or a TCP link. Clean and fast!
+ Supports controling an RTU and being an RTU.
+ .
+ This package contains the development files.
+
+
+

+ 32 - 0
debian/copyright

@@ -0,0 +1,32 @@
+This package was debianized by Stéphane Raimbault <stephane.raimbault@gmail.com> on
+Wed, 14 May 2008 22:30:53 +0200
+
+It was downloaded from <http://launchpad.net/libmodbus>
+
+Upstream Author(s): 
+
+    Stéphane Raimbault <stephane.raimbault@gmail.com>
+
+Copyright: 
+
+    <Copyright (C) 2001-2008 Stéphane Raimbault>
+
+License:
+
+    This package is free software: you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 3 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser Public License
+    along with this program.  If not, see
+    <http://www.gnu.org/licenses/>.
+
+The Debian packaging is (C) 2008, Stéphane Raimbault <stephane.raimbault@gmail.com> and is licensed under the LGPL version 3, see `/usr/share/common-licenses/LGPL-3'.
+
+

+ 3 - 0
debian/libmodbus-dev.install

@@ -0,0 +1,3 @@
+debian/tmp/usr/include/modbus/*
+debian/tmp/usr/lib/libmodbus.so
+debian/tmp/usr/lib/pkgconfig/modbus.pc

+ 1 - 0
debian/libmodbus.install

@@ -0,0 +1 @@
+debian/tmp/usr/lib/libmodbus.so.*

+ 3 - 0
debian/rules

@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk