From 9bc11749b0bf20f36d969314d425f1d67748dfa1 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 3 Oct 2007 19:43:10 +0000 Subject: added simpletrack for all SlackBuild/build pair scripts git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1402 370017ae-e619-0410-ac65-c121f96126d4 --- dev/libs/boost/boost.SlackBuild | 8 +++++++- dev/libs/clearsilver/clearsilver.SlackBuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'dev/libs') diff --git a/dev/libs/boost/boost.SlackBuild b/dev/libs/boost/boost.SlackBuild index f654be7d..2f632b42 100755 --- a/dev/libs/boost/boost.SlackBuild +++ b/dev/libs/boost/boost.SlackBuild @@ -50,7 +50,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 # doinst fix rm -rf $TMP/package-$PACKAGE diff --git a/dev/libs/clearsilver/clearsilver.SlackBuild b/dev/libs/clearsilver/clearsilver.SlackBuild index 007ecddc..86ad57f7 100755 --- a/dev/libs/clearsilver/clearsilver.SlackBuild +++ b/dev/libs/clearsilver/clearsilver.SlackBuild @@ -35,7 +35,13 @@ REPOS=${REPOS:=$TMP} rm -rf $TMP/$PACKAGE mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS -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 -- cgit v1.2.3