all buildblocks moved one level up
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
case ${OS} in
|
||||
Linux )
|
||||
srcdir="${MODULE_SRCDIR}/unix"
|
||||
;;
|
||||
Darwin )
|
||||
srcdir="${MODULE_SRCDIR}/macosx"
|
||||
;;
|
||||
esac
|
||||
"${srcdir}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-tcl=${TCL_PREFIX}/lib \
|
||||
--enable-shared=no \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
:
|
||||
#{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
|
||||
}
|
||||
|
||||
# use system's cc
|
||||
declare CC=cc
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::set_build_dependencies 'Tcl'
|
||||
pbuild::set_docfiles 'license.terms' 'README'
|
||||
pbuild::make_all
|
||||
Reference in New Issue
Block a user