aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-26 09:05:15 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-26 09:05:15 +0000
commit0ff941e1c32247582f89e4e6f0696ae6c02ed584 (patch)
tree273d9eced9a2fa2148fa04585ba557aa79acb557
parent8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b (diff)
downloadbusybox-w32-0ff941e1c32247582f89e4e6f0696ae6c02ed584.tar.gz
busybox-w32-0ff941e1c32247582f89e4e6f0696ae6c02ed584.tar.bz2
busybox-w32-0ff941e1c32247582f89e4e6f0696ae6c02ed584.zip
Name package busybox-unstable to keep a clean seperation between the official packages.
-rw-r--r--debian/control20
-rwxr-xr-xdebian/rules85
2 files changed, 53 insertions, 52 deletions
diff --git a/debian/control b/debian/control
index 2a0ffa8bf..d619b82ba 100644
--- a/debian/control
+++ b/debian/control
@@ -1,21 +1,21 @@
1Source: busybox 1Source: busybox-unstable
2Priority: optional 2Priority: optional
3Maintainer: Erik Andersen <andersee@debian.org> 3Maintainer: Erik Andersen <andersee@debian.org>
4Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0) 4Build-Depends: debhelper (>= 2.1.18), dpkg-dev (>= 1.7.0)
5Build-Depends-Indep: sgmltools-lite, w3m 5Build-Depends-Indep: sgmltools-lite, w3m
6Standards-Version: 3.2.1.0 6Standards-Version: 3.2.1.0
7 7
8Package: busybox-doc 8Package: busybox-unstable-doc
9Architecture: all 9Architecture: all
10Section: doc 10Section: doc
11Description: Documentation for busybox 11Description: Documentation for busybox
12 Documentation in various formats on busybox commands and their options. 12 Documentation in various formats on busybox commands and their options.
13 13
14Package: busybox 14Package: busybox-unstable
15Architecture: any 15Architecture: any
16Depends: ${shlibs:Depends} 16Depends: ${shlibs:Depends}
17Conflicts: busybox-static 17Conflicts: busybox-unstable-static, busybox, busybox-static
18Replaces: busybox-static 18Replaces: busybox-unstable-static, busybox, busybox-static
19Section: utils 19Section: utils
20Description: Tiny utilities for small and embedded systems. 20Description: Tiny utilities for small and embedded systems.
21 BusyBox combines tiny versions of many common UNIX utilities into a single 21 BusyBox combines tiny versions of many common UNIX utilities into a single
@@ -31,11 +31,11 @@ Description: Tiny utilities for small and embedded systems.
31 to install BusyBox to the current directory (you do not want to do this 31 to install BusyBox to the current directory (you do not want to do this
32 in / on your Debian system!). 32 in / on your Debian system!).
33 33
34Package: busybox-static 34Package: busybox-unstable-static
35Architecture: any 35Architecture: any
36Depends: ${shlibs:Depends} 36Depends: ${shlibs:Depends}
37Conflicts: busybox 37Conflicts: busybox-unstable, busybox-static, busybox
38Replaces: busybox 38Replaces: busybox-unstable, busybox-static, busybox
39Section: shells 39Section: shells
40Description: Standalone rescue shell with tons of builtin utilities. 40Description: Standalone rescue shell with tons of builtin utilities.
41 BusyBox combines tiny versions of many common UNIX utilities into a single 41 BusyBox combines tiny versions of many common UNIX utilities into a single
@@ -53,10 +53,12 @@ Description: Standalone rescue shell with tons of builtin utilities.
53 your system from certain destruction. Invoke "busybox", and it will list the 53 your system from certain destruction. Invoke "busybox", and it will list the
54 available builtin commands. 54 available builtin commands.
55 55
56Package: busybox-udeb 56Package: busybox-unstable-udeb
57Architecture: any 57Architecture: any
58Depends: ${shlibs:Depends} 58Depends: ${shlibs:Depends}
59Section: debian-installer 59Section: debian-installer
60Conflicts: busybox-udeb
61Provides: busybox-udeb
60Priority: standard 62Priority: standard
61Description: Tiny utilities for the debian-installer 63Description: Tiny utilities for the debian-installer
62 BusyBox combines tiny versions of many common UNIX utilities into a single 64 BusyBox combines tiny versions of many common UNIX utilities into a single
diff --git a/debian/rules b/debian/rules
index ba1530d3f..d9a865472 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
3export DH_VERBOSE=1 3export DH_VERBOSE=1
4export DH_COMPAT=3 4export DH_COMPAT=3
5 5
6# These wont actually do anything yet, need to hack Rules.mak
6ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) 7ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
7 CFLAGS += -g 8 CFLAGS += -g
8endif 9endif
@@ -10,8 +11,6 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
10 INSTALL_PROGRAM += -s 11 INSTALL_PROGRAM += -s
11endif 12endif
12 13
13binary-indep:
14
15busybox-deb: 14busybox-deb:
16 dh_testdir 15 dh_testdir
17 dh_testroot 16 dh_testroot
@@ -20,18 +19,18 @@ busybox-deb:
20 cp ./debian/Rules.mak.shared Rules.mak 19 cp ./debian/Rules.mak.shared Rules.mak
21 $(MAKE) dep 20 $(MAKE) dep
22 $(MAKE) 21 $(MAKE)
23 install -D busybox ./debian/busybox/bin/busybox 22 install -D busybox ./debian/busybox-unstable/bin/busybox
24 dh_installchangelogs Changelog -pbusybox 23 dh_installchangelogs Changelog -pbusybox-unstable
25 dh_installdocs -pbusybox 24 dh_installdocs -pbusybox-unstable
26 dh_strip -pbusybox 25 dh_strip -pbusybox-unstable
27 dh_compress -pbusybox 26 dh_compress -pbusybox-unstable
28 dh_fixperms -pbusybox 27 dh_fixperms -pbusybox-unstable
29 dh_installdeb -pbusybox 28 dh_installdeb -pbusybox-unstable
30 dh_shlibdeps -pbusybox 29 dh_shlibdeps -pbusybox-unstable
31 dh_gencontrol -pbusybox 30 dh_gencontrol -pbusybox-unstable
32 dh_md5sums -pbusybox 31 dh_md5sums -pbusybox-unstable
33 dh_builddeb -pbusybox 32 dh_builddeb -pbusybox-unstable
34 33
35busybox-udeb: 34busybox-udeb:
36 dh_testdir 35 dh_testdir
37 dh_testroot 36 dh_testroot
@@ -40,16 +39,16 @@ busybox-udeb:
40 cp ./debian/Rules.mak.shared Rules.mak 39 cp ./debian/Rules.mak.shared Rules.mak
41 $(MAKE) dep 40 $(MAKE) dep
42 $(MAKE) 41 $(MAKE)
43 install -D busybox ./debian/busybox-udeb/bin/busybox 42 install -D busybox ./debian/busybox-unstable-udeb/bin/busybox
44 dh_installchangelogs Changelog -pbusybox-udeb 43 dh_installchangelogs Changelog -pbusybox-unstable-udeb
45 dh_strip -pbusybox-udeb 44 dh_strip -pbusybox-unstable-udeb
46 dh_compress -pbusybox-udeb 45 dh_compress -pbusybox-unstable-udeb
47 dh_fixperms -pbusybox-udeb 46 dh_fixperms -pbusybox-unstable-udeb
48 dh_installdeb -pbusybox-udeb 47 dh_installdeb -pbusybox-unstable-udeb
49 dh_shlibdeps -pbusybox-udeb 48 dh_shlibdeps -pbusybox-unstable-udeb
50 dh_gencontrol -pbusybox-udeb 49 dh_gencontrol -pbusybox-unstable-udeb
51 dh_md5sums -pbusybox-udeb 50 dh_md5sums -pbusybox-unstable-udeb
52 dh_builddeb -pbusybox-udeb 51 dh_builddeb -pbusybox-unstable-udeb
53 52
54 53
55busybox-static: 54busybox-static:
@@ -60,17 +59,17 @@ busybox-static:
60 cp ./debian/Rules.mak.static Rules.mak 59 cp ./debian/Rules.mak.static Rules.mak
61 $(MAKE) dep 60 $(MAKE) dep
62 $(MAKE) 61 $(MAKE)
63 install -D busybox ./debian/busybox-static/bin/busybox 62 install -D busybox ./debian/busybox-unstable-static/bin/busybox
64 dh_installchangelogs Changelog -pbusybox-static 63 dh_installchangelogs Changelog -pbusybox-unstable-static
65 dh_installdocs -pbusybox-static 64 dh_installdocs -pbusybox-unstable-static
66 dh_strip -pbusybox-static 65 dh_strip -pbusybox-unstable-static
67 dh_compress -pbusybox-static 66 dh_compress -pbusybox-unstable-static
68 dh_fixperms -pbusybox-static 67 dh_fixperms -pbusybox-unstable-static
69 dh_installdeb -pbusybox-static 68 dh_installdeb -pbusybox-unstable-static
70 dh_shlibdeps -pbusybox-static 69 dh_shlibdeps -pbusybox-unstable-static
71 dh_gencontrol -pbusybox-static 70 dh_gencontrol -pbusybox-unstable-static
72 dh_md5sums -pbusybox-static 71 dh_md5sums -pbusybox-unstable-static
73 dh_builddeb -pbusybox-static 72 dh_builddeb -pbusybox-unstable-static
74 73
75binary-arch: busybox-deb busybox-udeb busybox-static 74binary-arch: busybox-deb busybox-udeb busybox-static
76 75
@@ -79,14 +78,14 @@ binary-indep:
79 dh_testroot 78 dh_testroot
80 $(MAKE) clean 79 $(MAKE) clean
81 $(MAKE) newdoc 80 $(MAKE) newdoc
82 dh_installdocs -pbusybox-doc 81 dh_installdocs -pbusybox-unstable-doc
83 dh_installchangelogs Changelog -pbusybox-doc 82 dh_installchangelogs Changelog -pbusybox-unstable-doc
84 dh_compress -pbusybox-doc 83 dh_compress -pbusybox-unstable-doc
85 dh_fixperms -pbusybox-doc 84 dh_fixperms -pbusybox-unstable-doc
86 dh_installdeb -pbusybox-doc 85 dh_installdeb -pbusybox-unstable-doc
87 dh_gencontrol -pbusybox-doc 86 dh_gencontrol -pbusybox-unstable-doc
88 dh_md5sums -pbusybox-doc 87 dh_md5sums -pbusybox-unstable-doc
89 dh_builddeb -pbusybox-doc 88 dh_builddeb -pbusybox-unstable-doc
90 89
91binary: binary-indep binary-arch 90binary: binary-indep binary-arch
92.PHONY: build clean binary-indep binary-arch binary install configure 91.PHONY: build clean binary-indep binary-arch binary install configure