summaryrefslogtreecommitdiffhomepage
path: root/examples/busybox.spec
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-12 08:03:23 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-12 08:03:23 +0000
commiteded54bd96ed0394844f9ba23c5ab54dff8a917f (patch)
tree2f6b89cb42fe3b05b64da415dccb773d06ad9d76 /examples/busybox.spec
parent96bcfd346b436aef16b29d9157b80fd4148b1421 (diff)
Adjust install a bit...
Diffstat (limited to 'examples/busybox.spec')
-rw-r--r--examples/busybox.spec10
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/busybox.spec b/examples/busybox.spec
index 5e6befbdf..e3fbb6d47 100644
--- a/examples/busybox.spec
+++ b/examples/busybox.spec
@@ -25,15 +25,7 @@ make
%Install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/bin
-h=`cat busybox.links`
-
-for i in $h ; do
- mkdir -p $RPM_BUILD_ROOT/`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `
- (cd $RPM_BUILD_ROOT/bin ; ln -s busybox `echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' ` );
-done
-rm -f $RPM_BUILD_ROOT/bin/busybox
-install -m 755 busybox $RPM_BUILD_ROOT/bin/busybox
+make PREFIX=$RPM_BUILD_ROOT install
%Clean
rm -rf $RPM_BUILD_ROOT