first commit
This commit is contained in:
9
debian/.gitignore
vendored
Normal file
9
debian/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
*.debhelper.log
|
||||
*.substvars
|
||||
tmp
|
||||
wiringpi
|
||||
libwiringpi2
|
||||
libwiringpi-dev
|
||||
files
|
||||
*.postinst.debhelper
|
||||
*.postrm.debhelper
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
wiringpi (2.26~iwj) rpi-unstable; urgency=low
|
||||
|
||||
* Initial version with real Debian source package build.
|
||||
|
||||
-- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 12 Sep 2015 18:31:35 +0100
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
8
|
29
debian/control
vendored
Normal file
29
debian/control
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
Source: wiringpi
|
||||
Section: electronics
|
||||
Priority: optional
|
||||
Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
||||
Standards-Version: 3.8.0
|
||||
Homepage: http://wiringpi.com/
|
||||
Build-Depends: debhelper (>= 8)
|
||||
|
||||
Package: libwiringpi2
|
||||
Section: libs
|
||||
Architecture: armhf
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: GPIO librariees for Raspberry Pi (runtime).
|
||||
Runtime for the popular wiringPi library.
|
||||
|
||||
Package: wiringpi
|
||||
Architecture: armhf
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: gpio utility for Raspberry Pi
|
||||
The wiringPi gpio command line utility, for GPIO access on a
|
||||
Raspberry Pi from the command line.
|
||||
|
||||
Package: libwiringpi-dev
|
||||
Architecture: armhf
|
||||
Depends: libwiringpi2 (= ${binary:Version}), libc6-dev, ${misc:Depends}
|
||||
Suggests: wiringpi
|
||||
Description: GPIO development library for Raspberry Pi
|
||||
Development libraries to allow GPIO access on a Raspberry Pi from C
|
||||
and C++ programs.
|
15
debian/copyright
vendored
Normal file
15
debian/copyright
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
wiringPi is Copyright (C) 2012-2015 Gordon Henderson.
|
||||
|
||||
wiringPi 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.
|
||||
|
||||
wiringPi 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.
|
||||
|
||||
On all Debian and Raspbian systems, a copy of the GNU Lesser General
|
||||
Public License version 3 can be found in
|
||||
`/usr/share/common-licenses/LGPL-3'.
|
2
debian/libwiringpi-dev.dirs
vendored
Normal file
2
debian/libwiringpi-dev.dirs
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
usr/lib
|
||||
usr/include
|
3
debian/libwiringpi-dev.install
vendored
Normal file
3
debian/libwiringpi-dev.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
debian/tmp/usr/include
|
||||
debian/tmp/usr/lib/*.so
|
||||
examples usr/share/doc/libwiringpi-dev
|
1
debian/libwiringpi2.install
vendored
Normal file
1
debian/libwiringpi2.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
debian/tmp/usr/lib/lib*.so.*
|
2
debian/libwiringpi2.shlibs
vendored
Normal file
2
debian/libwiringpi2.shlibs
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
libwiringPi 2 libwiringpi2
|
||||
libwiringPiDev 2 libwiringpi2
|
49
debian/rules
vendored
Normal file
49
debian/rules
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
.PHONY: build
|
||||
|
||||
VERSION:=$(shell cat VERSION)
|
||||
export VERSION
|
||||
|
||||
soname:=$(shell echo $${VERSION%%.*})
|
||||
WIRINGPI_SONAME_SUFFIX:=.$(soname)
|
||||
export soname
|
||||
export WIRINGPI_SONAME_SUFFIX
|
||||
|
||||
build:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
|
||||
override_dh_prep:
|
||||
dh_prep -Xdebian/tmp
|
||||
|
||||
dirs:
|
||||
dh_installdirs -A
|
||||
mkdir debian/tmp
|
||||
set -e; for p in `dh_listpackages`; do \
|
||||
(cd debian/$$p; find -type d) | \
|
||||
(cd debian/tmp; xargs mkdir -p) \
|
||||
done
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean
|
||||
WIRINGPI_SUDO= bash -xe ./build clean
|
||||
|
||||
override_dh_auto_build: dirs
|
||||
V=1 LDCONFIG=: WIRINGPI_SUDO= WIRINGPI_SUID=0 \
|
||||
DESTDIR=`pwd`/debian/tmp/usr \
|
||||
PREFIX= WIRINGPI_SUDO= \
|
||||
bash -xe ./build
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_install
|
||||
set -ex; for l in libwiringPi libwiringPiDev; do \
|
||||
ln -sf $$l.so.$${VERSION} \
|
||||
debian/libwiringpi$$soname/usr/lib/$$l.so.$$soname; \
|
||||
ln -sf $$l.so.$${VERSION} \
|
||||
debian/libwiringpi-dev/usr/lib/$$l.so; \
|
||||
done
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/wiringpi.dirs
vendored
Normal file
1
debian/wiringpi.dirs
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/bin
|
4
debian/wiringpi.install
vendored
Normal file
4
debian/wiringpi.install
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
debian/tmp/usr/bin
|
||||
debian/tmp/usr/man usr/share
|
||||
README.TXT usr/share/doc/wiringpi
|
||||
People usr/share/doc/wiringpi
|
Reference in New Issue
Block a user