diff options
Diffstat (limited to 'dev/util/scons/scons.SlackBuild')
-rwxr-xr-x | dev/util/scons/scons.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/util/scons/scons.SlackBuild b/dev/util/scons/scons.SlackBuild index e4bf5c35..bb99efef 100755 --- a/dev/util/scons/scons.SlackBuild +++ b/dev/util/scons/scons.SlackBuild @@ -47,7 +47,13 @@ REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE -slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +export PACKAGE VERSION ARCH BUILD SRC_DIR TMP REPOS + +if which simpletrack &> /dev/null; then + simpletrack $PACKAGE.build +else + slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" +fi if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP/$PACKAGE |