commit 919abb6ecb2ab7f6451fc66af5ac2fdcf319fd97
parent c57575181f63871b55fdbcbaadf10e14f92231b9
Author: Gerrit Pape <pape@smarden.org>
Date: Sat, 22 Dec 2001 19:58:29 +0000
Build-Depends on dietlibc, uses diet to compile programs.
Diffstat:
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
@@ -1,6 +1,7 @@
runit (0.2.2-1) woody; urgency=low
* See /package/admin/runit/package/CHANGES.
+ * Build-Depends on dietlibc, uses diet to compile programs.
-- Gerrit Pape <pape@smarden.org> Sat, 22 Dec 2001 20:37:03 +0100
diff --git a/debian/control b/debian/control
@@ -2,7 +2,7 @@ Source: runit
Section: admin
Priority: optional
Maintainer: Gerrit Pape <pape@smarden.org>
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>> 3.0.0), dietlibc | dietlibc-dev
Standards-Version: 3.5.2
Package: runit
diff --git a/debian/rules b/debian/rules
@@ -12,8 +12,7 @@ configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
-
-
+
touch configure-stamp
build: configure-stamp build-stamp
@@ -32,6 +31,12 @@ build-stamp:
ln -s daemontools-pd-0.76 support )
( \
cd admin/runit-0.2.2 ; \
+ sed -e 's/CC=gcc/CC=diet gcc/g; \
+ s/LDFLAGS=-Wall -O3 -s/LDFLAGS=-Wall -O3 -s -Os -pipe/g' \
+ < src/Makefile > src/Makefile'{new}' && \
+ mv -f src/Makefile'{new}' src/Makefile ; \
+ echo 'diet gcc -O2 -Wall' > support/conf-cc ; \
+ echo 'diet gcc -s -Os -pipe' > support/conf-ld ; \
package/compile ; \
echo "/package/admin/runit-0.2.2" > compile/home ; \
rm -f compile/src ; \