diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-19 18:06:14 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-19 18:06:14 +0000 |
commit | 2a7ea754924b46ee8f70c6ff654bfec993c03976 (patch) | |
tree | d406f193aa888340447c15b5291a1ef2a6a4e62e | |
parent | aefb82a795b8666a3c5e1145f1024fb20e20e2f7 (diff) | |
download | simplepkg-2a7ea754924b46ee8f70c6ff654bfec993c03976.tar.gz simplepkg-2a7ea754924b46ee8f70c6ff654bfec993c03976.tar.bz2 |
minor changes for 0.4.9
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@21 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-x | simplepkg.SlackBuild | 2 | ||||
-rw-r--r-- | src/createpkg | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild index 1eab674..bb087f6 100755 --- a/simplepkg.SlackBuild +++ b/simplepkg.SlackBuild @@ -6,7 +6,7 @@ PACKAGE="simplepkg" PACK_DIR="package-$PACKAGE" BUILD="1rha" -VERSION="0.4.9pre6" +VERSION="0.4.9" ARCH="noarch" LIBEXEC="/usr/libexec/$PACKAGE" BINDIR="/usr/bin" diff --git a/src/createpkg b/src/createpkg index c7b35a8..f4b8f82 100644 --- a/src/createpkg +++ b/src/createpkg @@ -220,6 +220,7 @@ if [ -z "$BUILD_SCRIPT" ]; then fi SCRIPT_BASE="`dirname $BUILD_SCRIPT`" +echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies # sets the package's slack-required if [ -f "$SCRIPT_BASE/$PACKAGE.slack-required" ]; then @@ -228,12 +229,8 @@ elif [ -f "$SCRIPT_BASE/slack-required" ]; then SLACK_REQ="$SCRIPT_BASE/slack-required" fi -echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies - if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then - # this routine checks for dependencies in package's slack-required - while read dep; do if [ ! -z "$dep" ]; then program="`echo $dep | awk '{ print $1 }'`" @@ -242,7 +239,9 @@ if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then solve_dep $program $condition $version fi done < <( cat $SLACK_REQ ) - + echo $BASNEMAE: done checking for $PACKAGE dependencies +else + echo $BASENAME: no unmet dependencies for $PACKAGE fi echo $BASENAME: processing `basename $BUILD_SCRIPT` |