summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0aeea35)
raw | patch | inline | side by side (parent: 0aeea35)
author | octo <octo> | |
Mon, 1 May 2006 17:54:55 +0000 (17:54 +0000) | ||
committer | octo <octo> | |
Mon, 1 May 2006 17:54:55 +0000 (17:54 +0000) |
debian/control | patch | blob | history | |
debian/liboping-dev.dirs | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/control b/debian/control
index f072a26c520d49f0538cbaeb78b97a7ecbb078be..de3d2c9372b3b3752f4131f486c42ac526b3489f 100644 (file)
--- a/debian/control
+++ b/debian/control
Package: liboping
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}
Description: Library to send ICMPv4/ICMPv6 echo packets to multiple hosts
liboping was inspired by ping, libping and fping: It differs from these
existing solutions in that it can `ping' multiple hosts in parallel using IPv4
Package: liboping-dev
Section: libdevel
Architecture: any
-Depends: liboping (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: liboping (= ${Source-Version})
Description: Development files for the liboping library
liboping was inspired by ping, libping and fping: It differs from these
existing solutions in that it can `ping' multiple hosts in parallel using IPv4
Package: oping
Section: net
Architecture: any
-Depends: liboping (= ${Source-Version}), ${shlibs:Depends}, ${misc:Depends}
+Depends: liboping (= ${Source-Version}), ${shlibs:Depends}
Description: Sends ICMPv4/ICMPv6 echo packets to multiple remote hosts
liboping was inspired by ping, libping and fping: It differs from these
existing solutions in that it can `ping' multiple hosts in parallel using IPv4
index 44188162ec7a56a977fa0c1b431a015576f8b3b6..6554f708a29e3dfe2f902857fd13a68e572196af 100644 (file)
--- a/debian/liboping-dev.dirs
+++ b/debian/liboping-dev.dirs
usr/lib
usr/include
+usr/share/man/man3
diff --git a/debian/rules b/debian/rules
index b663c35b47624df1c0ef05d80a2432c0d80299f6..4a04e8d94422d95f501b806e27991229ed59e2d5 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
#Architecture
-build: build-arch build-indep
+build: build-arch
build-arch: build-arch-stamp
$(MAKE)
touch build-arch-stamp
-build-indep: build-indep-stamp
-
-build-indep-stamp: config.status
- # FIXME
- #$(MAKE) doc
- touch build-indep-stamp
-
clean:
dh_testdir
dh_testroot
- rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+ rm -f build-arch-stamp
# Add here commands to clean up after the build process.
-$(MAKE) distclean
dh_clean
-install: install-indep install-arch
-install-indep:
- dh_testdir
- dh_testroot
- dh_clean -k -i
- dh_installdirs -i
-
- # Add here commands to install the indep part of the package into
- # debian/<package>-doc.
- #INSTALLDOC#
-
- dh_install -i
+install: install-arch
install-arch:
dh_testdir
mv -v $(CURDIR)/debian/tmp/usr/lib/*.so $(CURDIR)/debian/liboping/usr/lib/
mv -v $(CURDIR)/debian/tmp/usr/lib/*.{a,la} $(CURDIR)/debian/liboping-dev/usr/lib/
mv -v $(CURDIR)/debian/tmp/usr/include/*.h $(CURDIR)/debian/liboping-dev/usr/include/
+ #mv -v $(CURDIR)/debian/tmp/usr/share/man/man{1,3} $(CURDIR)/debian/liboping-dev/usr/share/man/
+ mv -v $(CURDIR)/debian/tmp/usr/share/man/man3/* $(CURDIR)/debian/liboping-dev/usr/share/man/man3/
mv -v $(CURDIR)/debian/tmp/usr/bin/* $(CURDIR)/debian/oping/usr/bin/
dh_install -s
+
# Must not depend on anything. This is to be called by
# binary-arch/binary-indep
# in another 'make' thread.
dh_gencontrol
dh_md5sums
dh_builddeb
-# Build architecture independant packages using the common target.
-binary-indep: build-indep install-indep
- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# Build architecture dependant packages using the common target.
binary-arch: build-arch install-arch
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
+binary: binary-arch
+.PHONY: build clean binary-arch binary install install-arch