From b4e5a59cf012666c6e14080b37281fa0a8b2d27d Mon Sep 17 00:00:00 2001 From: luis Date: Thu, 12 Apr 2007 02:46:10 +0000 Subject: Syncing with generic.SlackBuild v0.8.2 git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1164 370017ae-e619-0410-ac65-c121f96126d4 --- sys/apps/microcode_ctl/microcode_ctl.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/apps/microcode_ctl') diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild index 19698f93..c762d705 100755 --- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild +++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild @@ -27,6 +27,8 @@ PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/usr} PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION" +CONF_OPTIONS=${CONF_OPTIONS:=} +NUMJOBS=${NUMJOBS:=-j4} # Set error codes (used by createpkg) ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 @@ -57,7 +59,7 @@ tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TA cd "$PKG_SRC" # Compile -make all || exit $ERROR_MAKE +make "$NUMJOBS" all || exit $ERROR_MAKE if [ ! -c /dev/cpu/microcode ]; then make device || exit $ERROR_MAKE fi @@ -90,8 +92,8 @@ fi # Install documentation DOCS="Changelog README intel-*.txt" -mkdir -p "$PKG/$PREFIX/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/$PREFIX/doc/$PKG_NAME-$PKG_VERSION" +mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR +cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" # Move the initialization script to /etc/rc.d/, renaming it to rc.* ( cd "$PKG/etc/rc.d" -- cgit v1.2.3