Follow multi-arch policy
This commit is contained in:
parent
e25bc18d96
commit
8141cb7297
6 changed files with 22 additions and 11 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,10 +1,14 @@
|
||||||
nut (2.6.4-3) UNRELEASED; urgency=low
|
nut (2.6.4-3) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Arnaud Quette ]
|
||||||
* debian/control, debian/nut-ipmi.{install,manpages}: create IPMI
|
* debian/control, debian/nut-ipmi.{install,manpages}: create IPMI
|
||||||
support package
|
support package
|
||||||
* debian/nut-server.install: only install USB udev rules
|
* debian/nut-server.install: only install USB udev rules
|
||||||
|
|
||||||
-- Arnaud Quette <aquette@debian.org> Fri, 08 Jun 2012 23:23:03 +0200
|
[ Laurent Bigonville ]
|
||||||
|
* Follow multi-arch policy
|
||||||
|
|
||||||
|
-- Laurent Bigonville <bigon@debian.org> Sun, 12 Aug 2012 22:18:36 +0200
|
||||||
|
|
||||||
nut (2.6.4-2) unstable; urgency=low
|
nut (2.6.4-2) unstable; urgency=low
|
||||||
|
|
||||||
|
|
6
debian/control
vendored
6
debian/control
vendored
|
@ -3,8 +3,8 @@ Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Arnaud Quette <aquette@debian.org>
|
Maintainer: Arnaud Quette <aquette@debian.org>
|
||||||
Uploaders: Laurent Bigonville <bigon@debian.org>
|
Uploaders: Laurent Bigonville <bigon@debian.org>
|
||||||
Build-Depends: debhelper (>= 8),
|
Build-Depends: debhelper (>= 8.1.3),
|
||||||
cdbs (>= 0.4.90~),
|
cdbs (>= 0.4.93~),
|
||||||
libgd2-xpm-dev | libgd2-noxpm-dev,
|
libgd2-xpm-dev | libgd2-noxpm-dev,
|
||||||
libsnmp-dev | libsnmp9-dev,
|
libsnmp-dev | libsnmp9-dev,
|
||||||
libusb-dev (>= 0.1.8),
|
libusb-dev (>= 0.1.8),
|
||||||
|
@ -166,6 +166,8 @@ Description: network UPS tools - documentation
|
||||||
Package: libupsclient1
|
Package: libupsclient1
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
|
Multi-Arch: same
|
||||||
Description: network UPS tools - client library
|
Description: network UPS tools - client library
|
||||||
Network UPS Tools (NUT) is a client/server monitoring system that
|
Network UPS Tools (NUT) is a client/server monitoring system that
|
||||||
allows computers to share uninterruptible power supply (UPS) and
|
allows computers to share uninterruptible power supply (UPS) and
|
||||||
|
|
9
debian/libupsclient1-dev.install
vendored
9
debian/libupsclient1-dev.install
vendored
|
@ -1,4 +1,5 @@
|
||||||
debian/tmp/lib/libupsclient.so
|
lib/*/libupsclient.so
|
||||||
debian/tmp/lib/libupsclient.a
|
usr/lib/*/libupsclient.so
|
||||||
debian/tmp/usr/lib/pkgconfig/
|
lib/*/libupsclient.a
|
||||||
debian/tmp/usr/include
|
usr/lib/*/pkgconfig/
|
||||||
|
usr/include
|
||||||
|
|
1
debian/libupsclient1-dev.links
vendored
1
debian/libupsclient1-dev.links
vendored
|
@ -1 +0,0 @@
|
||||||
/lib/libupsclient.so.1.1.0 /usr/lib/libupsclient.so
|
|
2
debian/libupsclient1.install
vendored
2
debian/libupsclient1.install
vendored
|
@ -1 +1 @@
|
||||||
debian/tmp/lib/libupsclient.so.*
|
lib/*/libupsclient.so.*
|
||||||
|
|
9
debian/rules
vendored
9
debian/rules
vendored
|
@ -14,7 +14,8 @@ DEB_CONFIGURE_PREFIX :=
|
||||||
DEB_CONFIGURE_SYSCONFDIR := /etc/nut
|
DEB_CONFIGURE_SYSCONFDIR := /etc/nut
|
||||||
DEB_CONFIGURE_INCLUDEDIR := /usr/include
|
DEB_CONFIGURE_INCLUDEDIR := /usr/include
|
||||||
DEB_CONFIGURE_MANDIR := /usr/share/man
|
DEB_CONFIGURE_MANDIR := /usr/share/man
|
||||||
DEB_CONFIGURE_EXTRA_FLAGS := --without-ssl \
|
DEB_CONFIGURE_EXTRA_FLAGS := --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
|
||||||
|
--without-ssl \
|
||||||
--with-cgi \
|
--with-cgi \
|
||||||
--with-dev \
|
--with-dev \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
@ -25,7 +26,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --without-ssl \
|
||||||
--with-htmlpath=/usr/share/nut/www \
|
--with-htmlpath=/usr/share/nut/www \
|
||||||
--with-pidpath=/var/run/nut \
|
--with-pidpath=/var/run/nut \
|
||||||
--datadir=/usr/share/nut \
|
--datadir=/usr/share/nut \
|
||||||
--with-pkgconfig-dir=/usr/lib/pkgconfig \
|
--with-pkgconfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
|
||||||
--with-user=nut --with-group=nut
|
--with-user=nut --with-group=nut
|
||||||
|
|
||||||
ifeq (linux,$(DEB_HOST_ARCH_OS))
|
ifeq (linux,$(DEB_HOST_ARCH_OS))
|
||||||
|
@ -61,6 +62,10 @@ common-install-arch::
|
||||||
mv $${f} $(CURDIR)/debian/tmp/etc/nut/$${nf}; \
|
mv $${f} $(CURDIR)/debian/tmp/etc/nut/$${nf}; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Create -dev symlink under /usr
|
||||||
|
ln -s /lib/$(DEB_HOST_MULTIARCH)/libupsclient.so.1.1.0 \
|
||||||
|
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
|
||||||
|
|
||||||
common-install-indep::
|
common-install-indep::
|
||||||
#install documentation
|
#install documentation
|
||||||
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/pdf
|
mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/nut-doc/pdf
|
||||||
|
|
Loading…
Reference in a new issue