1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="0.28"
url="http://rkeene.org/devel/tcc4tcl/tcc4tcl-${version}.tar.gz"
sha256='7062bd924b91d2ce8efc5d1983f8bd900514b7a674c9b567f564ee977ef3512e'
function preconfigure() {
if echo " ${CONFIGUREEXTRA} " | grep ' --disable-load ' >/dev/null; then
configure_extra=("--with-dlopen")
else
configure_extra=("--without-dlopen")
fi
}
function postinstall() {
echo "/libtcc1\.a" > "${installdir}/kitcreator-nolibs"
}
|
>
>
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="0.28"
url="http://rkeene.org/devel/tcc4tcl/tcc4tcl-${version}.tar.gz"
sha256='7062bd924b91d2ce8efc5d1983f8bd900514b7a674c9b567f564ee977ef3512e'
configure_extra=()
function preconfigure() {
configure_extra=("${configure_extra[@]}" "--enable-stubs")
if echo " ${CONFIGUREEXTRA} " | grep ' --disable-load ' >/dev/null; then
configure_extra=("${configure_extra[@]}" "--with-dlopen")
else
configure_extra=("${configure_extra[@]}" "--without-dlopen")
fi
}
function postinstall() {
echo "/libtcc1\.a" > "${installdir}/kitcreator-nolibs"
}
|