Removed stale debian/ dir from the hamlib source (it is maintained

in the Debian diff and isn't useful in this tree).



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2840 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.11
Kamal Mostafa, KA6MAL 2010-02-28 16:06:26 +00:00
rodzic 5e21991a28
commit 896983ec82
21 zmienionych plików z 0 dodań i 716 usunięć

Wyświetl plik

@ -1,7 +0,0 @@
hamlib for Debian
-----------------
Questions about hamlib can be asked on the hamlib-developer mailing list,
see: https://lists.sourceforge.net/lists/listinfo/hamlib-developer
Joop Stakenborg <pa3aba@debian.org>, Fri, 21 Mar 2003 20:55:10 +0100

10
debian/TODO.Debian vendored
Wyświetl plik

@ -1,10 +0,0 @@
TODO.Debian for the hamlib package
----------------------------------
*
We should start using dh_install and the corresponding package.install files,
it is much easier to maintain.
*
After 'make install DESTDIR=$(CURDIR)/debian/tmp', the paths for the tcl,
perl and python bindings are all messed up. See if we can fix this.

298
debian/changelog vendored
Wyświetl plik

@ -1,298 +0,0 @@
hamlib (1.2.6.2-3) unstable; urgency=low
* Run 'make distclean' instead of 'make clean'.
-- Joop Stakenborg <pa3aba@debian.org> Thu, 29 Nov 2007 19:46:28 +0100
hamlib (1.2.6.2-2) unstable; urgency=low
* From Ubuntu hardy: Remove bytecompiled modules from the python-libhamlib2
package, in debian/rules: change rm to remove Hamlib.py? instead of
only Hamlib.pyc.
* Add -ppython-libhamlib2 to dh_pysupport call.
* Thanks Cesare Tirabassi <norsetto@ubuntu.com>.
-- Joop Stakenborg <pa3aba@debian.org> Tue, 27 Nov 2007 20:12:51 +0100
hamlib (1.2.6.2-1) unstable; urgency=low
* New upstream release.
* Make python 2.4 only the minimum version.
* Remove "@PYTHON_LDFLAGS@" from bindings/Makefile.am, so we
don't link with python. Closes: #445382.
* Some lintian fixes.
-- Joop Stakenborg <pa3aba@debian.org> Mon, 26 Nov 2007 20:58:35 +0100
hamlib (1.2.6.1-1) unstable; urgency=low
* New upstream release
-- Joop Stakenborg <pa3aba@debian.org> Sun, 4 Feb 2007 19:44:37 +0100
hamlib (1.2.6-1) unstable; urgency=low
* New upstream.
-- Joop Stakenborg <pa3aba@debian.org> Wed, 31 Jan 2007 19:55:12 +0100
hamlib (1.2.5-8) unstable; urgency=high
* Change pyversions to 2.4.
* Install python modules in /usr/share/python-support/python-libhamlib2,
so python can find them.
* This fixes an RC bug, so set urgency high.
* Closes: #406991.
-- Joop Stakenborg <pa3aba@debian.org> Sun, 21 Jan 2007 19:22:23 +0100
hamlib (1.2.5-7.1) unstable; urgency=low
* NMU.
* Drop explicit dependency on python2.3.
-- Matthias Klose <doko@debian.org> Fri, 27 Oct 2006 02:20:23 +0200
hamlib (1.2.5-7) unstable; urgency=low
* Update to new python policy
* Update standards version 3.7.2
* This work by Barry deFreese of Ubuntu, thanks! Closes: #379191.
-- Joop Stakenborg <pa3aba@debian.org> Tue, 25 Jul 2006 10:16:19 +0200
hamlib (1.2.5-6) unstable; urgency=low
* Make sure the tcltest.tcl script works.
* Remove config.status, libltdl/config.status when cleaning.
* Fix a spelling error in the control file. Closes: #363632.
* Make sure we don't have -Xtcl when running dpkg-shlibdeps, so the
depends line for the tcl package gets created correctly.
* TODO.Debian added for future work.
* Do not use hamlib4, use libhamlib2. Closes: #364222.
-- Joop Stakenborg <pa3aba@debian.org> Sun, 23 Apr 2006 10:10:07 +0200
hamlib (1.2.5-5) unstable; urgency=low
* Okay, we should be using python instead of python2.3 for build
depends.
-- Joop Stakenborg <pa3aba@debian.org> Fri, 14 Apr 2006 00:46:31 +0200
hamlib (1.2.5-4) unstable; urgency=low
* Build depend on python2.3 and python2.3-dev.
* Use 'python -V 2.3' in debian/rules.
* Build-Conflicts python2.4.
-- Joop Stakenborg <pa3aba@debian.org> Thu, 13 Apr 2006 22:40:06 +0200
hamlib (1.2.5-3) unstable; urgency=low
* Remove rpath trapdoor from the perl package. Closes: #358166.
* libhamlib-dev should depend on libusb-dev. Closes: #358129.
* Adjust copyright file so it points both to the GPL and LGPL, copyright
the debian work, include a copyright header from the source code and
mention both debian developers.
-- Joop Stakenborg <pa3aba@debian.org> Fri, 31 Mar 2006 20:04:53 +0200
hamlib (1.2.5-2) unstable; urgency=low
* Co-maintainer added: Terry Dawson.
* Provide new packages, which follow the so name.
* Correct some of the descriptions, so they point to the correct packages.
* Build python package against python2.3 for now, since building against
2.4 doesn't seem to work.
* Use dh_perl and dh_python when building, so we byte compile at install time.
* Install the rigswr binary into the libhamlib-utils package.
-- Joop Stakenborg <pa3aba@debian.org> Sun, 19 Mar 2006 09:34:06 +0100
hamlib (1.2.5-1) unstable; urgency=low
* New upstream release.
* Add libusb-dev to the build dependencies.
* This package differs from the upstream package, it creates libhamlib.so.2
to avoid the need for recompilation for applications that depend on hamlib,
should a new hamlib be released. Upstream knows about this and will
apply it to future packages.
* Python model now compiled for python2.4.
-- Joop Stakenborg <pa3aba@debian.org> Sat, 4 Mar 2006 13:55:30 +0100
hamlib (1.2.4-3) unstable; urgency=low
* Patch by Petr Salinger to fix FTBFS on GNU/kFreeBSD. Closes: #336029.
-- Joop Stakenborg <pa3aba@debian.org> Thu, 27 Oct 2005 17:46:51 +0200
hamlib (1.2.4-2) unstable; urgency=low
* C++ ABI transition. Closes: #335632.
- rename hamlib3++ to hammlib3++c2 and conflict/replace hamlib3++.
- change debian/rules accordingly.
-- Joop Stakenborg <pa3aba@debian.org> Wed, 26 Oct 2005 10:29:27 +0200
hamlib (1.2.4-1) unstable; urgency=low
* New upstream release.
* Watch file added.
-- Joop Stakenborg <pa3aba@debian.org> Mon, 4 Apr 2005 16:46:27 +0200
hamlib (1.2.3-2) unstable; urgency=low
* Do a correct rebuild, so hamlib3-tcl does not get linked with hamlib2.
Closes: #291663. Thanks to Steve Langasek for reporting.
* Add a build-conflicts line to the control file, so this does not happen
again.
* Prevent duplicate entries on the shlibs control file for hamlib.
-- Joop Stakenborg <pa3aba@debian.org> Sat, 22 Jan 2005 11:33:04 +0100
hamlib (1.2.3-1) unstable; urgency=low
* New upstream.
-- Joop Stakenborg <pa3aba@debian.org> Thu, 18 Nov 2004 16:55:55 +0100
hamlib (1.2.2-1) unstable; urgency=low
* New upstream release.
* Upstream has added links to the website in the documentation.
Closes: #263287.
* Add hints to tcltest.tcl for the correct path to the tcl library.
Closes: #258693.
-- Joop Stakenborg <pa3aba@debian.org> Sat, 2 Oct 2004 12:53:53 +0200
hamlib (1.2.0-4) unstable; urgency=low
* Rebuild with correct gcc version. Closes: #254226.
* Dan reports an almost empty hamlib.html file in the hamlib-doc package.
This is normal behaviour, instead you should be clicking on one of the
links at the top of the page, or use index.html. Closes: #254739.
-- Joop Stakenborg <pa3aba@debian.org> Sun, 27 Jun 2004 11:06:32 +0200
hamlib (1.2.0-3) unstable; urgency=low
* Try to accomodate for different perl versions, so 'make install' in the
perl package does not fail.
-- Joop Stakenborg <pa3aba@debian.org> Fri, 28 May 2004 21:52:41 +0200
hamlib (1.2.0-2) unstable; urgency=low
* Correct references to the hamlib1 package in the control file.
* Removed *.files in the debian directory.
* Build hamlib++-dev and hamlib2++ packages for C++.
* Added swig, libperl-dev, python-dev, tcl8.4-dev to build-depends.
* Added perl, python and tcl bindings.
* Update standards version to 3.6.1.
-- Joop Stakenborg <pa3aba@debian.org> Wed, 24 Mar 2004 18:19:26 +0100
hamlib (1.2.0-1) unstable; urgency=low
* New upstream.
* New package: hamlib2 because of API changes.
* 1 new program in hamlib-utils called rigmem.
* Upstream changelog is old, so not included anymore.
-- Joop Stakenborg <pa3aba@debian.org> Sat, 28 Feb 2004 08:23:34 +0100
hamlib (1.1.4-6) unstable; urgency=low
* This time fix it correctly. Call dh_makeshlibs with -V option.
Closes: #194607.
-- Joop Stakenborg <pa3aba@debian.org> Mon, 26 May 2003 17:43:29 +0200
hamlib (1.1.4-5) unstable; urgency=low
* Modify shlibs.local, so we have the correct build dependencies.
Thanks Hamish. Closes: #194607.
-- Joop Stakenborg <pa3aba@debian.org> Sun, 25 May 2003 19:02:37 +0200
hamlib (1.1.4-4) unstable; urgency=low
* Don't check on libieee in the configure script, as this messes up
builds on arm and it is an empty library anyway.
-- Joop Stakenborg <pa3aba@debian.org> Tue, 6 May 2003 21:10:57 +0200
hamlib (1.1.4-3) unstable; urgency=low
* Include rig_dll.h in the hamlib-dev package, it is needed by rig.h.
-- Joop Stakenborg <pa3aba@debian.org> Fri, 2 May 2003 19:06:19 +0200
hamlib (1.1.4-2) unstable; urgency=low
* This time really change the Maintainer field in the control file.
* Update standards version.
* Don't build C++ libraries.
* Fix override disparity for hamlib-dev.
* Clean up libltdl directory before building.
* Don't include C++ and cygwin headers.
-- Joop Stakenborg <pa3aba@debian.org> Thu, 1 May 2003 20:38:30 +0200
hamlib (1.1.4-1) unstable; urgency=low
* New upstream.
* New maintainer, see:
http://lists.debian.org/debian-hams/2003/debian-hams-200304/msg00018.html
-- Joop Stakenborg <pa3aba@debian.org> Fri, 8 Nov 2002 17:28:44 +0100
hamlib (1.1.2-5) unstable; urgency=low
* Updated section details to prevents overrides message.
-- Terry Dawson <terry@animats.net> Sat, 29 Dec 2001 18:53:26 +1000
hamlib (1.1.2-4) unstable; urgency=low
* Corrected spelling mistake in package description.
* (Closes: #124717)
* (Closes: #124718)
* (Closes: #124719)
-- Terry Dawson <terry@animats.net> Fri, 28 Dec 2001 20:12:50 +1000
hamlib (1.1.2-3) unstable; urgency=low
* Ensured that shared library .la files are installed correctly, thanks Joop.
* (Closes: #123009)
* (Closes: #123010)
-- Terry Dawson <terry@animats.net> Sun, 12 Dec 2001 20:35:02 +1000
hamlib (1.1.2-2) unstable; urgency=low
* Removed spurious include of eti.h, thanks James. (Closes: #114128)
-- Terry Dawson <terry@animats.net> Tue, 02 Oct 2001 18:58:43 +1000
hamlib (1.1.2-1) unstable; urgency=low
* New upstream release. (Closes: #104602)
-- Terry Dawson <terry@animats.net> Sun, 24 Sep 2001 21:44:56 +1000
hamlib (1.1.1-1) unstable; urgency=low
* Initial Release. (Closes: #102342)
-- Terry Dawson <terry@animats.net> Sun, 24 Jun 2001 22:02:12 +1000
Local variables:
mode: debian-changelog
End:

1
debian/compat vendored
Wyświetl plik

@ -1 +0,0 @@
4

178
debian/control vendored
Wyświetl plik

@ -1,178 +0,0 @@
Source: hamlib
Section: hamradio
Priority: optional
Maintainer: Joop Stakenborg <pa3aba@debian.org>
Uploaders: Terry Dawson <terry@debian.org>, Joop Stakenborg <pa3aba@debian.org>
Build-Depends: debhelper (>> 5.0.37.2), doxygen, swig, libperl-dev, python-all-dev (>= 2.3.5-11), tcl8.4-dev, libusb-dev, python-support (>= 0.3)
Build-Conflicts: hamlib-dev (< 1.2.5-3)
Standards-Version: 3.7.2
Package: libhamlib2
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Conflicts: hamlib1, hamlib2, hamlib3, hamlib4
Provides: hamlib4
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the C run-time form of the library. If you wish to
develop software using this library you need the 'libhamlib-dev' package.
Package: libhamlib2++c2
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Conflicts: hamlib3++, hamlib3++c2, hamlib4++c2
Provides: hamlib4++c2
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the C++ run-time form of the library. If you wish to
develop software using this library you need the 'libhamlib++-dev' package.
Package: libhamlib-dev
Architecture: any
Section: libdevel
Depends: libhamlib2 (= ${binary:Version}), libc6-dev, libusb-dev
Conflicts: hamlib-dev
Provides: hamlib-dev
Description: Development library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the development library with both C bindings.
If you wish to run applications developed using this library you'll need the
'libhamlib2' package.
Package: libhamlib++-dev
Architecture: any
Section: libdevel
Depends: libhamlib2 (= ${binary:Version}), libhamlib-dev (= ${binary:Version}), libc6-dev
Conflicts: hamlib++-dev
Provides: hamlib++-dev
Description: Development library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the development library with C++ bindings.
If you wish to run applications developed using this library you'll need the
'libhamlib2++c2' package.
Package: libhamlib2-perl
Architecture: any
Section: perl
Depends: ${shlibs:Depends}
Conflicts: hamlib3-perl, hamlib4-perl
Provides: hamlib4-perl
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the perl bindings of the library.
Package: libhamlib2-tcl
Architecture: any
Section: interpreters
Depends: ${shlibs:Depends}
Conflicts: hamlib3-tcl, hamlib4-tcl
Provides: hamlib4-tcl
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the tcl bindings of the library.
Package: python-libhamlib2
Architecture: any
Section: python
Depends: ${shlibs:Depends}, ${python:Depends}
Conflicts: python2.3-hamlib3, python2.4-hamlib4, python2.3-libhamlib2
Replaces: python2.3-libhamlib2
Provides: ${python:Provides}
XB-Python-Version: ${python:Versions}
Description: Run-time library to control radio transceivers and receivers
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the python bindings of the library.
Package: libhamlib-utils
Architecture: any
Depends: ${shlibs:Depends}
Conflicts: hamlib-utils
Provides: hamlib-utils
Description: Utilities to support the hamlib radio control library
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides a command-line utility to test the hamlib library and
to control transceivers if you're short of anything more sophisticated.
Package: libhamlib-doc
Architecture: any
Section: doc
Conflicts: hamlib-doc
Provides: hamlib-doc
Suggests: www-browser
Description: Documentation for the hamlib radio control library
Most recent amateur radio transceivers allow external control of their
functions through a computer interface. Unfortunately, control commands are
not always consistent across a manufacturer's product line and each
manufacturer's product line differs greatly from its competitors.
.
This library addresses that issue by providing a standardised programming
interface that applications can talk to and translating that into the
appropriate commands required by the radio in use.
.
This package provides the developers documentation for the API.

41
debian/copyright vendored
Wyświetl plik

@ -1,41 +0,0 @@
This package was debianized by Terry Dawson <tjd@animats.net> on
Sun, 24 Jun 2001 22:02:12 +1000 and modified by Joop Stakenborg
<pa3aba@debian.org> on Fri, 31 Mar 2006 20:04:53 +0200.
Current Debian maintainers are Joop Stakenborg and Terry Dawson (see above
for the e-mail addresses), their work is licensed under the GPL.
It was downloaded from http://sourceforge.net/projects/hamlib, see the files
section for the available source code.
The libraries in this package are copyrighted by the LGPL, utilities are
copyrighted by the GPL. See /usr/share/common-licenses/GPL and
/usr/share/common-licenses/LGPL for the detailed terms and conditions.
Upstream Authors: Frank Singleton, VK3FCS/KM5WS and Stephane Fillod, F8CFE.
There were many contributors (see the AUTHORS file in the source package).
From src/rig.c:
/*
* Hamlib Interface - main file
* Copyright (c) 2000-2006 by Stephane Fillod and Frank Singleton
*
* $Id: copyright,v 1.3 2007-11-26 07:08:51 pa4tu Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program 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 Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*/

2
debian/dirs vendored
Wyświetl plik

@ -1,2 +0,0 @@
usr/bin
usr/sbin

7
debian/docs vendored
Wyświetl plik

@ -1,7 +0,0 @@
INSTALL
NEWS
README
TODO
PLAN
AUTHORS
THANKS

Wyświetl plik

@ -1,2 +0,0 @@
usr/lib
usr/include

Wyświetl plik

@ -1,4 +0,0 @@
usr/lib
usr/lib/pkgconfig
usr/include
usr/share/aclocal

Wyświetl plik

@ -1 +0,0 @@
usr/share/doc/hamlib-doc/html

Wyświetl plik

@ -1,4 +0,0 @@
usr/bin
usr/sbin
usr/share/man/man1
usr/share/man/man8

Wyświetl plik

@ -1 +0,0 @@
usr/lib

Wyświetl plik

@ -1,2 +0,0 @@
/usr/lib/perl5
/usr/share/doc/libhamlib2-perl

Wyświetl plik

@ -1,2 +0,0 @@
/usr/lib/hamlib
/usr/share/doc/libhamlib2-tcl

Wyświetl plik

@ -1 +0,0 @@
usr/lib

1
debian/pycompat vendored
Wyświetl plik

@ -1 +0,0 @@
2

Wyświetl plik

@ -1,2 +0,0 @@
/usr/share/python-support/python-libhamlib2
/usr/share/doc/python-libhamlib2

1
debian/pyversions vendored
Wyświetl plik

@ -1 +0,0 @@
2.4-

149
debian/rules vendored
Wyświetl plik

@ -1,149 +0,0 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PY_INTERPRETER=/usr/bin/python
perlversion = `perl -V:version|cut -d\' -f2`
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
--without-kylix-binding
touch configure-stamp
build: configure-stamp build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
$(MAKE)
$(MAKE) -C doc doc
touch build-stamp
clean:
dh_testdir
dh_testroot
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
rm -f build-stamp configure-stamp
rm -f config.log libltdl/config.log
rm -f config.status libltdl/config.status
rm -rf doc/html
rm -rf `find . -name .libs`
rm -f lib/termios.o libltdl/ltdl.o
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
# Move C++ files out of the way
# Move the appropriate files into the C++ development package..
mv $(CURDIR)/debian/tmp/usr/include/hamlib/rigclass.h $(CURDIR)/debian/libhamlib++-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/include/hamlib/rotclass.h $(CURDIR)/debian/libhamlib++-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.a $(CURDIR)/debian/libhamlib++-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.la $(CURDIR)/debian/libhamlib++-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.so $(CURDIR)/debian/libhamlib++-dev/usr/lib/
# Move the appropriate files into the C++ runtime package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.so.2 $(CURDIR)/debian/libhamlib2++c2/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib++.so.2.0.5 $(CURDIR)/debian/libhamlib2++c2/usr/lib/
# Move the appropriate files into the C development package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib.so $(CURDIR)/debian/libhamlib-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/*.a $(CURDIR)/debian/libhamlib-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/*.la $(CURDIR)/debian/libhamlib-dev/usr/lib/
mv $(CURDIR)/debian/tmp/usr/include/hamlib $(CURDIR)/debian/libhamlib-dev/usr/include/
mv $(CURDIR)/debian/tmp/usr/lib/pkgconfig/hamlib.pc $(CURDIR)/debian/libhamlib-dev/usr/lib/pkgconfig/
mv $(CURDIR)/debian/tmp/usr/share/aclocal/hamlib.m4 $(CURDIR)/debian/libhamlib-dev/usr/share/aclocal/
# Move the appropriate files into the C runtime package..
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib.so.2 $(CURDIR)/debian/libhamlib2/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/libhamlib.so.2.0.5 $(CURDIR)/debian/libhamlib2/usr/lib/
mv $(CURDIR)/debian/tmp/usr/lib/hamlib-*so $(CURDIR)/debian/libhamlib2/usr/lib/
# Move the appropriate files into the perl package and do some cleanups
mv $(CURDIR)/debian/tmp/usr/lib/perl/$(perlversion)/* $(CURDIR)/debian/libhamlib2-perl/usr/lib/perl5
rm -f $(CURDIR)/debian/libhamlib2-perl/usr/lib/perl5/auto/Hamlib/.packlist
rm -f $(CURDIR)/debian/libhamlib2-perl/usr/lib/perl5/auto/Hamlib/Hamlib.bs
rm -f $(CURDIR)/debian/libhamlib2-perl/usr/lib/perl5/perllocal.pod
mv $(CURDIR)/debian/libhamlib2-perl/usr/lib/perl5/perltest.pl $(CURDIR)/debian/libhamlib2-perl/usr/share/doc/libhamlib2-perl
# Move the appropriate files into the python package
rm $(CURDIR)/debian/tmp/usr/lib/python/Hamlib.py?
mv $(CURDIR)/debian/tmp/usr/lib/python/* $(CURDIR)/debian/python-libhamlib2/usr/share/python-support/python-libhamlib2
mv $(CURDIR)/debian/tmp/usr/lib/_Hamlib.so $(CURDIR)/debian/python-libhamlib2/usr/share/python-support/python-libhamlib2
chmod 0644 $(CURDIR)/bindings/pytest.py
cp $(CURDIR)/bindings/pytest.py $(CURDIR)/debian/python-libhamlib2/usr/share/doc/python-libhamlib2/
# Move the appropriate files into the tcl package
mv $(CURDIR)/debian/tmp/usr/lib/hamlibtcl* $(CURDIR)/debian/libhamlib2-tcl/usr/lib/hamlib/
mv $(CURDIR)/debian/tmp/usr/lib/tcl/* $(CURDIR)/debian/libhamlib2-tcl/usr/lib/hamlib/
cp $(CURDIR)/bindings/tcltest.tcl $(CURDIR)/debian/libhamlib2-tcl/usr/share/doc/libhamlib2-tcl/
# Move the appropriate files into the documentation package..
mv $(CURDIR)/doc/html/* $(CURDIR)/debian/libhamlib-doc/usr/share/doc/hamlib-doc/html
# Move the appropriate files into the utils package..
mv $(CURDIR)/debian/tmp/usr/bin/rigctl $(CURDIR)/debian/libhamlib-utils/usr/bin/
mv $(CURDIR)/debian/tmp/usr/bin/rotctl $(CURDIR)/debian/libhamlib-utils/usr/bin/
mv $(CURDIR)/debian/tmp/usr/bin/rigmem $(CURDIR)/debian/libhamlib-utils/usr/bin/
mv $(CURDIR)/debian/tmp/usr/bin/rigswr $(CURDIR)/debian/libhamlib-utils/usr/bin/
mv $(CURDIR)/debian/tmp/usr/share/man/man1/rigctl.1 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man1
mv $(CURDIR)/debian/tmp/usr/share/man/man1/rotctl.1 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man1
mv $(CURDIR)/debian/tmp/usr/share/man/man1/rigmem.1 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man1
mv $(CURDIR)/debian/tmp/usr/share/man/man1/rigswr.1 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man1
mv $(CURDIR)/debian/tmp/usr/sbin/rpc.rigd $(CURDIR)/debian/libhamlib-utils/usr/sbin/
mv $(CURDIR)/debian/tmp/usr/sbin/rpc.rotd $(CURDIR)/debian/libhamlib-utils/usr/sbin/
mv $(CURDIR)/debian/tmp/usr/share/man/man8/rpc.rigd.8 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man8
mv $(CURDIR)/debian/tmp/usr/share/man/man8/rpc.rotd.8 $(CURDIR)/debian/libhamlib-utils/usr/share/man/man8
# 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_installdocs -X INSTALL -X ChangeLog
dh_installchangelogs
# dh_link
dh_strip
dh_compress
dh_fixperms
dh_perl
: # Replace all '#!' calls to python with $(PY_INTERPRETER)
: # and make them executable
for i in `find debian/python-* -type f`; do \
sed '1s,#!.*python[^ ]*\(.*\),#! $(PY_INTERPRETER)\1,' \
$$i > $$i.temp; \
if cmp --quiet $$i $$i.temp; then \
rm -f $$i.temp; \
else \
mv -f $$i.temp $$i; \
chmod 755 $$i; \
echo "fixed interpreter: $$i"; \
fi; \
done
dh_pysupport -ppython-libhamlib2
dh_makeshlibs -V -Xalinco -Xaor -Xdrake -Xdummy -Xeasycomm -Xflexradio -Xfodtrack -Xicom -Xjrc -Xkachina -Xkenwood -Xkit -Xlowe -Xmicrotune -Xpcr -Xracal -Xrft -Xrotorez -Xrpc -Xsartek -Xtapr -Xtentec -Xtuner -Xuniden -Xwinradio -Xyaesu -Xkit -Xracal -Xscanti -Xwj -Xtuner -Xlibtcl
dh_installdeb
dh_shlibdeps -Xalinco -Xaor -Xdrake -Xdummy -Xeasycomm -Xflexradio -Xfodtrack -Xicom -Xjrc -Xkachina -Xkenwood -Xkit -Xlowe -Xmicrotune -Xpcr -Xracal -Xrft -Xrotorez -Xrpc -Xsartek -Xtapr -Xtentec -Xtuner -Xuniden -Xwinradio -Xyaesu -Xkit -Xracal -Xscanti -Xwj -Xtuner
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

2
debian/watch vendored
Wyświetl plik

@ -1,2 +0,0 @@
version=2
http://heanet.dl.sourceforge.net/sourceforge/hamlib/hamlib-(.*)\.tar\.gz debian uupdate