diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-12 02:46:10 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-12 02:46:10 +0000 |
commit | b4e5a59cf012666c6e14080b37281fa0a8b2d27d (patch) | |
tree | d456752ffa99fa1114beb8cc02397e3adb63cf97 /sys/apps | |
parent | 5715ba0a091568f07009b6c40315fd65bf8acd5d (diff) | |
download | slackbuilds-b4e5a59cf012666c6e14080b37281fa0a8b2d27d.tar.gz slackbuilds-b4e5a59cf012666c6e14080b37281fa0a8b2d27d.tar.bz2 |
Syncing with generic.SlackBuild v0.8.2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1164 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sys/apps')
-rwxr-xr-x | sys/apps/microcode_ctl/microcode_ctl.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
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" |