mirror of https://gerrit.osmocom.org/libusrp
Add debian directory
Related: OS#3218 Change-Id: I5ff1d76f533b9ac68ab3f2c70ead6b66f4413b4f
This commit is contained in:
parent
12196606d5
commit
4bf4521b1d
|
@ -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,20 @@
|
|||
Source: libusrp
|
||||
Priority: optional
|
||||
Maintainer: Pau Espin Pedrol <pespin@sysmocom.de>
|
||||
Build-Depends: debhelper (>= 9), autotools-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: libusrp-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Depends: libusrp1 (= ${binary:Version}), ${misc:Depends}
|
||||
Description: USRP1 gnuradio based transceiver - dev files
|
||||
|
||||
Package: libusrp1
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: USRP1 gnuradio based transceiver
|
|
@ -0,0 +1,38 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: libusrp
|
||||
Source: <url://example.com>
|
||||
|
||||
Files: *
|
||||
Copyright: <years> <put author's name and email here>
|
||||
<years> <likewise for another author>
|
||||
License: <special license>
|
||||
<Put the license of the package here indented by 1 space>
|
||||
<This follows the format of Description: lines in control file>
|
||||
.
|
||||
<Including paragraphs>
|
||||
|
||||
# If you want to use GPL v2 or later for the /debian/* files use
|
||||
# the following clauses, or change it to suit. Delete these two lines
|
||||
Files: debian/*
|
||||
Copyright: 2018 root <root@unknown>
|
||||
License: GPL-2+
|
||||
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 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
# Please also look if there are files or directories which have a
|
||||
# different copyright/license attached and list them here.
|
||||
# Please avoid picking licenses with terms that are more restrictive than the
|
||||
# packaged work, as it may make Debian's contributions unacceptable upstream.
|
|
@ -0,0 +1,4 @@
|
|||
usr/include/*
|
||||
usr/lib/*/lib*.so
|
||||
usr/lib/*/pkgconfig/*
|
||||
usr/share/pkgconfig/*
|
|
@ -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