hamlib radio/rotator control library

This commit is contained in:
jason 2007-05-28 17:07:27 +00:00
parent aa3f2d2354
commit 39d9f9038c
13 changed files with 250 additions and 0 deletions

59
comms/hamlib/Makefile Normal file
View File

@ -0,0 +1,59 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
COMMENT-main= "radio/rotator control library"
COMMENT-python= "python bindings"
COMMENT-tcl= "tcl bindings"
VERSION= 1.2.6
DISTNAME= hamlib-${VERSION}
PKGNAME-main= hamlib-${VERSION}
PKGNAME-python= hamlib-python-${VERSION}
PKGNAME-tcl= hamlib-tcl-${VERSION}
CATEGORIES= comms hamradio
MULTI_PACKAGES= -main -python -tcl
SHARED_LIBS= hamlib 2.5 \
hamlib++ 2.5
HOMEPAGE= http://hamlib.sourceforge.net/
MAINTAINER= Jason Wright <jason@openbsd.org>
MODULES= lang/python
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++ z
WANTLIB-python= m usb
WANTLIB-tcl= m usb
LIB_DEPENDS-main= xml2::textproc/libxml \
iconv::converters/libiconv \
usb.>=9::devel/libusb
LIB_DEPENDS-python= hamlib::${PKGPATH} \
python${MODPY_VERSION}::lang/python/${MODPY_VERSION}
LIB_DEPENDS-tcl= hamlib::${PKGPATH} \
tcl84::lang/tcl/8.4
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hamlib/}
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
BUILD_DEPENDS= ::devel/swig
RUN_DEPENDS-main=
RUN_DEPENDS-tcl=
# --without-winradio do not build winradio backend
# --with-gnuradio build gnuradio backend
CONFIGURE_ARGS=--with-cxx-binding --with-perl-binding --with-rpc-backends \
--with-tcl-binding --with-python-binding --without-rigmatrix \
--with-tcl=${LOCALBASE}/lib/tcl8.4
.include <bsd.port.mk>

4
comms/hamlib/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (hamlib-1.2.6.tar.gz) = 4bb058cfb9f13eaa8948b41e47956599
RMD160 (hamlib-1.2.6.tar.gz) = de4484ec0862632d53ac3905e61f9833a02547da
SHA1 (hamlib-1.2.6.tar.gz) = 79c8eeef51cf1ad49558c698edf7b3eb638bfd76
SIZE (hamlib-1.2.6.tar.gz) = 1473299

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-rpcrig_rpcrigd_c,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
--- rpcrig/rpcrigd.c.orig Tue Nov 1 10:09:56 2005
+++ rpcrig/rpcrigd.c Tue Nov 1 10:10:23 2005
@@ -45,7 +45,9 @@
#include <hamlib/rig.h>
-
+#ifdef __OpenBSD__
+int _rpcsvcdirty;
+#endif
/*
* Prototypes

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-rpcrot_rpcrotd_c,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
--- rpcrot/rpcrotd.c.orig Tue Nov 1 10:09:40 2005
+++ rpcrot/rpcrotd.c Tue Nov 1 10:10:30 2005
@@ -45,6 +45,9 @@
#include <hamlib/rotator.h>
+#ifdef __OpenBSD__
+int _rpcsvcdirty;
+#endif
/*
* Prototypes

View File

@ -0,0 +1,9 @@
The Ham m Radio Control Libraries, Hamlib for short, is a development
effort to provide a consistent interface for programmers wanting to
incorporate radio control in their programs. Hamlib is not a complete
user application, rather, it is a software layer intended to make
controlling various radios and other shack hardware much easier.
Hamlib will allow authors of such software as logging programs,
digital communications programs, or those wanting to develop the
ultimate radio control software to concentrate on the user interface
and the basic function of the program rather than radio control.

View File

@ -0,0 +1 @@
Python bindings for hamlib radio/rotator control library.

View File

@ -0,0 +1 @@
TCL bindings for hamlib radio/rotator control library.

View File

@ -0,0 +1,33 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
lib/hamlib-alinco.so
lib/hamlib-aor.so
lib/hamlib-drake.so
lib/hamlib-dummy.so
lib/hamlib-easycomm.so
lib/hamlib-flexradio.so
lib/hamlib-fodtrack.so
lib/hamlib-icom.so
lib/hamlib-jrc.so
lib/hamlib-kachina.so
lib/hamlib-kenwood.so
lib/hamlib-kit.so
lib/hamlib-lowe.so
lib/hamlib-microtune.so
lib/hamlib-pcr.so
lib/hamlib-racal.so
lib/hamlib-rft.so
lib/hamlib-rotorez.so
lib/hamlib-rpcrig.so
lib/hamlib-rpcrot.so
lib/hamlib-sartek.so
lib/hamlib-skanti.so
lib/hamlib-tapr.so
lib/hamlib-tentec.so
lib/hamlib-tuner.so
lib/hamlib-uniden.so
lib/hamlib-winradio.so
lib/hamlib-wj.so
lib/hamlib-yaesu.so
@lib lib/libhamlib++.so.${LIBhamlib++_VERSION}
@lib lib/libhamlib.so.${LIBhamlib_VERSION}
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Hamlib/Hamlib.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-python,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
lib/_Hamlib.so

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared-tcl,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
lib/hamlibtcl-1.0.so
lib/hamlibtcl.so

View File

@ -0,0 +1,97 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
%%SHARED%%
bin/rigctl
bin/rigmem
bin/rigswr
bin/rotctl
include/hamlib/
include/hamlib/rig.h
include/hamlib/rig_dll.h
include/hamlib/rigclass.h
include/hamlib/riglist.h
include/hamlib/rotator.h
include/hamlib/rotclass.h
include/hamlib/rotlist.h
lib/hamlib-alinco.a
lib/hamlib-alinco.la
lib/hamlib-aor.a
lib/hamlib-aor.la
lib/hamlib-drake.a
lib/hamlib-drake.la
lib/hamlib-dummy.a
lib/hamlib-dummy.la
lib/hamlib-easycomm.a
lib/hamlib-easycomm.la
lib/hamlib-flexradio.a
lib/hamlib-flexradio.la
lib/hamlib-fodtrack.a
lib/hamlib-fodtrack.la
lib/hamlib-icom.a
lib/hamlib-icom.la
lib/hamlib-jrc.a
lib/hamlib-jrc.la
lib/hamlib-kachina.a
lib/hamlib-kachina.la
lib/hamlib-kenwood.a
lib/hamlib-kenwood.la
lib/hamlib-kit.a
lib/hamlib-kit.la
lib/hamlib-lowe.a
lib/hamlib-lowe.la
lib/hamlib-microtune.a
lib/hamlib-microtune.la
lib/hamlib-pcr.a
lib/hamlib-pcr.la
lib/hamlib-racal.a
lib/hamlib-racal.la
lib/hamlib-rft.a
lib/hamlib-rft.la
lib/hamlib-rotorez.a
lib/hamlib-rotorez.la
lib/hamlib-rpcrig.a
lib/hamlib-rpcrig.la
lib/hamlib-rpcrot.a
lib/hamlib-rpcrot.la
lib/hamlib-sartek.a
lib/hamlib-sartek.la
lib/hamlib-skanti.a
lib/hamlib-skanti.la
lib/hamlib-tapr.a
lib/hamlib-tapr.la
lib/hamlib-tentec.a
lib/hamlib-tentec.la
lib/hamlib-tuner.a
lib/hamlib-tuner.la
lib/hamlib-uniden.a
lib/hamlib-uniden.la
lib/hamlib-winradio.a
lib/hamlib-winradio.la
lib/hamlib-wj.a
lib/hamlib-wj.la
lib/hamlib-yaesu.a
lib/hamlib-yaesu.la
lib/libhamlib++.a
lib/libhamlib++.la
lib/libhamlib.a
lib/libhamlib.la
lib/pkgconfig/
lib/pkgconfig/hamlib.pc
libdata/perl5/${MACHINE_ARCH}-openbsd/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/perllocal.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/Hamlib.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Hamlib/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/Hamlib/Hamlib.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/perltest.pl
@man man/man1/rigctl.1
@man man/man1/rigmem.1
@man man/man1/rigswr.1
@man man/man1/rotctl.1
@man man/man8/rpc.rigd.8
@man man/man8/rpc.rotd.8
sbin/rpc.rigd
sbin/rpc.rotd
share/aclocal/
share/aclocal/hamlib.m4

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST-python,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
%%SHARED%%
lib/_Hamlib.a
lib/_Hamlib.la
lib/python/
lib/python/Hamlib.py
lib/python/Hamlib.pyc
lib/python/Hamlib.pyo

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST-tcl,v 1.1.1.1 2007/05/28 17:07:27 jason Exp $
%%SHARED%%
lib/hamlibtcl.a
lib/hamlibtcl.la
lib/tcl/
lib/tcl/pkgIndex.tcl