diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-16 22:43:14 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-16 22:43:14 (EDT) |
commit | d21c81aada41390ca2a1594ba8e812714a5a5723 (patch) | |
tree | 9f9032f3d7a0ef67ce43adbf497ba89a9e349473 /build |
Initial commit.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 |