Commit 2cdf1f15 authored by gsell's avatar gsell
Browse files

git/build

- use pbuild
parent eee5c158
#!/bin/bash #!/usr/bin/env pbuild
source "$(dirname $0)/../../../lib/libpmodules.bash" export NO_APPLE_COMMON_CRYPTO=1
pmodules.configure() { pbuild::configure() {
cd "${MODULE_SRCDIR}" cd "${MODULE_SRCDIR}"
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \ --prefix="${PREFIX}" \
...@@ -10,15 +10,20 @@ pmodules.configure() { ...@@ -10,15 +10,20 @@ pmodules.configure() {
|| exit 1 || exit 1
} }
pmodules.build() { pbuild::build() {
cd "${MODULE_SRCDIR}" cd "${MODULE_SRCDIR}"
make make
} }
pmodules.add_to_group 'Tools' pbuild::install() {
pmodules.set_runtime_dependencies 'Tcl' 'Tk' cd "${MODULE_SRCDIR}"
pmodules.set_docfiles 'COPYING' 'README' make install
pmodules.make_all }
pbuild::add_to_group 'Tools'
pbuild::set_runtime_dependencies 'Tcl' 'Tk'
pbuild::set_docfiles 'COPYING' 'README'
pbuild::make_all
# Local Variables: # Local Variables:
# mode: sh # mode: sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment