diff options
author | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-11-28 17:36:31 +0000 |
---|---|---|
committer | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-11-28 17:36:31 +0000 |
commit | 96c62a78b61d993eaeae2ca136085bffc2c5fc7c (patch) | |
tree | 9b394981850ccc129adf25495a985c20a2694c25 /trunk/mkbuild/generic.mkSlackBuild | |
parent | d2cd448dc7cc047bdd1bb19a9d78a1c67114cbe2 (diff) | |
download | simplepkg-96c62a78b61d993eaeae2ca136085bffc2c5fc7c.tar.gz simplepkg-96c62a78b61d993eaeae2ca136085bffc2c5fc7c.tar.bz2 |
várias mudanças: lspkg, createpkg, mkbuild, common.sh, simplepkg.conf.new, generic.mkSlackBuild, model.mkbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@458 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild/generic.mkSlackBuild')
-rw-r--r-- | trunk/mkbuild/generic.mkSlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild index 72f8917..6e9e222 100644 --- a/trunk/mkbuild/generic.mkSlackBuild +++ b/trunk/mkbuild/generic.mkSlackBuild @@ -50,7 +50,7 @@ TMP=${TMP:=/tmp} PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=[[PREFIX]]} -PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION" +PKG_WORK="$TMP/$SRC_NAME" CONF_OPTIONS=${CONF_OPTIONS:="[[OTHER CONFIGURE ARGS]]"} NUMJOBS=${NUMJOBS:="[[NUMBER OF JOBS]]"} </set_variables> @@ -90,6 +90,8 @@ rm -rf "$PKG" 2> /dev/null mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR mkdir -p "$PKG" || exit $ERROR_MKDIR mkdir -p "$REPOS" || exit $ERROR_MKDIR +mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR + </start_structure> <download_source> off @@ -138,8 +140,9 @@ gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG <untar_source> off # Untar -cd "$TMP" +cd "$PKG_WORK" [[UNPACKER]] [[UNPACKER FLAGS]] "$SRC_DIR/$SRC" || exit $ERROR_TAR +PKG_SRC=`ls -l | awk '/^d/ { print $8 }'` cd "$PKG_SRC" </untar_source> |