build-blocks:

- use modbuild in shebang
- refactore function calls
This commit is contained in:
2015-09-21 16:42:39 +02:00
parent 380ae5dbe1
commit bc9e63799e
49 changed files with 340 additions and 440 deletions

View File

@@ -1,19 +1,17 @@
#!/bin/bash
#!/usr/bin/env modbuild
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.configure() {
pbuild::configure() {
:
}
pmodules.build() {
pbuild::build() {
:
}
pmodules.install() {
pbuild::install() {
cd "${MODULE_SRCDIR}"
rsync --exclude=".info" --delete --verbose --archive . "${PREFIX}"
}
pmodules.add_to_group 'Programming'
pmodules.make_all
pbuild::add_to_group 'Programming'
pbuild::make_all