diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-07-14 17:10:39 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-07-14 17:43:08 (EDT) |
commit | 990f40d03972f9880a359c2ebb643654bc5242e5 (patch) | |
tree | fa2a8ef5fb4aa7eb51d6dd54f944d7f2390f69db /build | |
parent | f3f7a8bb1f2fddafa36d0f31dd44b278df9d003b (diff) |
Convert to platconf-pkg-tools framework
Diffstat (limited to 'build')
-rwxr-xr-x | build | 32 |
1 files changed, 1 insertions, 31 deletions
@@ -1,33 +1,3 @@ #!/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/build/*; do \ - pkg="$${pkg#src/build/}"; \ - for ver in "src/build/$${pkg}/"*; do \ - ver="$${ver#src/build/$${pkg}/}"; \ - mkdir -p "$(platconf_dir)"; \ - cp -p "src/build/$${pkg}/$${ver}/"* "$(platconf_dir)"; \ - done; \ - done - set -e; \ - for pkg in src/run/*; do \ - pkg="$${pkg#src/run/}"; \ - mkdir "config-$${pkg}.data"; \ - find "src/run/$${pkg}" -type f | while read -r file; do \ - file="$${file#src/run/$${pkg}}"; \ - mkdir -p "config-$${pkg}.data/$${file%/*}"; \ - cp -p "src/run/$${pkg}/$${file}" \ - "config-$${pkg}.data/$${file}"; \ - done; \ - done +include /usr/share/platconf-pkg-tools/build.mk |