mirror of https://gerrit.osmocom.org/libusrp
Add debian directory
Related: OS#3218 Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
This commit is contained in:
parent
85538b98d0
commit
0e2dd34a0f
|
@ -0,0 +1,5 @@
|
||||||
|
libusrp (0.0.1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Pau Espin Pedrol <pespin@sysmocom.de> Thu, 26 Apr 2018 17:06:51 +0000
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,43 @@
|
||||||
|
Source: libusrp
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Pau Espin Pedrol <pespin@sysmocom.de>
|
||||||
|
Build-Depends: debhelper (>=9),
|
||||||
|
dh-autoreconf,
|
||||||
|
autotools-dev,
|
||||||
|
autoconf,
|
||||||
|
automake,
|
||||||
|
libtool,
|
||||||
|
pkg-config,
|
||||||
|
libusb-1.0-0-dev,
|
||||||
|
libboost-all-dev
|
||||||
|
Standards-Version: 3.9.8
|
||||||
|
Section: libs
|
||||||
|
Homepage: https://osmocom.org/projects/osmotrx/
|
||||||
|
Vcs-Git: git://git.osmocom.org/libusrp
|
||||||
|
Vcs-Browser: https://git.osmocom.org/libusrp
|
||||||
|
|
||||||
|
Package: libusrp1
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: gnuradio based driver library for the USRP1 SDR
|
||||||
|
Gnuradio removed libusrp as it switched to UHD support, including USRP1
|
||||||
|
devices. However, USRP1 on UHD doesn't support timestamps, so this library
|
||||||
|
remains needed for applications that use timestamps such as osmo-trx. To find
|
||||||
|
out how this library was forked from gnuradio, check libusrp.git commit
|
||||||
|
description ec6adccbbdda1a4614089aaf52f9e1bab75494e7.
|
||||||
|
|
||||||
|
Package: libusrp-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
|
||||||
|
Description: gnuradio based driver library for the USRP1 SDR - dev files
|
||||||
|
|
||||||
|
Package: libusrp-firmware
|
||||||
|
Architecture: any
|
||||||
|
Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
|
||||||
|
Description: gnuradio based driver library for the USRP1 SDR - firmware files
|
||||||
|
|
||||||
|
Package: libusrp-utils
|
||||||
|
Architecture: any
|
||||||
|
Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
|
||||||
|
Description: gnuradio based driver library for the USRP1 SDR - several tools
|
|
@ -0,0 +1,41 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: libusrp
|
||||||
|
Source: git://git.osmocom.org/libusrp
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2003-2010 Free Software Foundation, Inc.
|
||||||
|
License: GPL-3.0+
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 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 General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General Public License
|
||||||
|
Version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2018 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
|
||||||
|
License: GPL-3.0+
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 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 General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General Public License
|
||||||
|
Version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
@ -0,0 +1,3 @@
|
||||||
|
usr/include/*
|
||||||
|
usr/lib/*/lib*.so
|
||||||
|
usr/lib/*/pkgconfig/*
|
|
@ -0,0 +1 @@
|
||||||
|
usr/share/usrp/*/*.rbf
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/bin/usrper
|
||||||
|
usr/bin/usrp_cal_dc_offset
|
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/*/lib*.so.*
|
|
@ -0,0 +1,31 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
||||||
|
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
||||||
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
||||||
|
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with autoreconf --fail-missing
|
||||||
|
|
||||||
|
override_dh_strip:
|
||||||
|
dh_strip --dbg-package=libosmo-netif-dbg
|
||||||
|
|
||||||
|
override_dh_autoreconf:
|
||||||
|
echo $(VERSION) > .tarball-version
|
||||||
|
dh_autoreconf
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
|
||||||
|
dh_install
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
dh_clean
|
||||||
|
rm -f tests/package.m4 tests/testsuite .version .tarball-version
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
Loading…
Reference in New Issue