aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/generic.mkSlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/mkbuild/generic.mkSlackBuild')
-rw-r--r--trunk/mkbuild/generic.mkSlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild
index 7c8620c..777deac 100644
--- a/trunk/mkbuild/generic.mkSlackBuild
+++ b/trunk/mkbuild/generic.mkSlackBuild
@@ -4,7 +4,7 @@
## Version 0.8.1 - Luis ( luis at riseup d0t net)
##
###################################################
-<head> all
+<head> off
#!/bin/bash
#
# [[PROGRAM NAME]].SlackBuild is free software; you can redistribute
@@ -36,7 +36,7 @@ elif [ -f /etc/slackbuildrc ]; then
fi
</slackbuildrc>
-<set_variables> all
+<set_variables> off
# Set variables
CWD="$(pwd)"
SRC_NAME="[[SOURCE NAME]]"
@@ -55,7 +55,7 @@ CONF_OPTIONS=${CONF_OPTIONS:="[[OTHER CONFIGURE ARGS]]"}
NUMJOBS=${NUMJOBS:="[[NUMBER OF JOBS]]"}
</set_variables>
-<slkflags> all
+<slkflags> off
# Set system libraries' path and optmization flags based on $ARCH
LIBDIR="$PREFIX/lib"
@@ -81,7 +81,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
</error_codes>
-<start_structure> all
+<start_structure> off
# Clean up any leftovers of previous builds
rm -rf "$PKG_SRC" 2> /dev/null
rm -rf "$PKG" 2> /dev/null
@@ -136,14 +136,14 @@ fi
gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG
</gpg_signature_check>
-<untar_source> all
+<untar_source> off
# Untar
cd "$TMP"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
cd "$PKG_SRC"
</untar_source>
-<path_source> off
+<patch_source> off
# Patch source
patches="[[PATCH FILES]]
$PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff
@@ -155,7 +155,7 @@ for patch in $patches; do
patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/patches/$patch" || exit $ERROR_PATCH
fi
done
-</path_source>
+</patch_source>
<configure> off
# Configure
@@ -165,12 +165,12 @@ CFLAGS="$SLKCFLAGS" \
--prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
</configure>
-<make_package> all
+<make_package> off
# Compile
make $NUMJOBS || exit $ERROR_MAKE
</make_package>
-<install_package> all
+<install_package> off
# Install
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
</install_package>
@@ -256,7 +256,7 @@ config path/to/config_file.new
EOSCRIPT
</postinstall_script>
-<build_package> all
+<build_package> off
# Build the package
cd "$PKG"
makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG