summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-12 13:58:15 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-12 13:58:15 (EDT)
commitc67b3cabe90a02d6c5ce08098ffeece6eb943b6f (patch)
tree8c620eb9e4a8bda0489facc4287347853a06f25b /build
parent0ae2451651ad5f72012a1227ed335a5bef14a79d (diff)
Update to SPF 2.0, opkhelper 3.0 and rename pkgs.
Diffstat (limited to 'build')
-rwxr-xr-xbuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/build b/build
index dd4d273..fa48d2f 100755
--- a/build
+++ b/build
@@ -1,14 +1,11 @@
-#! /usr/bin/make -f
+#!/usr/bin/make -f
-PKGS = basefiles initscripts
+build:
-$(PKGS): basefiles.buildstamp
-
-.SILENT: basefiles.buildstamp
-basefiles.buildstamp:
- printf 'basefiles: Installing base files...\n'
- mv src/* dest
- printf 'basefiles: Making filesystem hierarchy...\n'
+install: build
+ printf 'base-files: Installing base files...\n'
+ mv src dest
+ printf 'base-files: Making filesystem hierarchy...\n'
cd dest && \
mkdir -p bin boot dev/pts etc/opt home lib media mnt opt proc && \
install -d -m 0750 root && \
@@ -35,7 +32,7 @@ basefiles.buildstamp:
ln -s share/man usr/local/man && \
mkdir -p var/cache var/lib/misc var/local var/lock var/log var/mail \
var/opt var/run var/spool
- printf 'basefiles: Making service run control links...\n'
+ printf 'base-files: Making service run control links...\n'
cd dest && \
mkdir etc/rc.d && \
ln -s rc etc/init.d/rcS && \
@@ -55,8 +52,4 @@ basefiles.buildstamp:
ln -s ../init.d/networking etc/rc.d/K04networking
cd dest/etc/network && \
mkdir if-down.d if-post-down.d if-pre-up.d if-up.d
- oh-installfiles $(PKGS)
- oh-installdocs basefiles
- oh-gencontrol $(PKGS)
- oh-buildopk $(PKGS)
- touch basefiles.buildstamp
+ oh-installfiles