summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..2f1de60
--- /dev/null
+++ b/build
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+plat = $${OPK_SOURCE\#config-}
+config_pkg = config-$${pkg}-$(plat)
+platconf_dir = $(config_pkg).data/usr/share/platconf/$(plat)/$${pkg}_$${ver}
+
+nop:
+ @:
+
+build:
+ @:
+
+install: build
+ set -e; \
+ for pkg in src/*; do \
+ pkg="$${pkg#src/}"; \
+ for ver in "src/$${pkg}/"*; do \
+ ver="$${ver#src/$${pkg}/}"; \
+ mkdir -p "$(platconf_dir)"; \
+ cp -p "src/$${pkg}/$${ver}/"* "$(platconf_dir)"; \
+ done; \
+ done