aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/editors/kile/kile.mkbuild (renamed from sys/apps/smartmontools/smartmontools.mkbuild)61
-rw-r--r--app/emulation/wine/wine.mkbuild184
-rw-r--r--dev/libs/libdaemon/libdaemon.mkbuild2
-rw-r--r--media/libs/libdvdcss/libdvdcss.mkbuild5
-rw-r--r--media/sound/lame/lame.mkbuild160
-rw-r--r--net/im/skype/skype.mkbuild175
-rw-r--r--sci/mathematics/scilab/scilab.mkbuild195
-rw-r--r--sys/libs/libfreebob/libfreebob.mkbuild2
-rw-r--r--sys/process/htop/htop.mkbuild3
9 files changed, 759 insertions, 28 deletions
diff --git a/sys/apps/smartmontools/smartmontools.mkbuild b/app/editors/kile/kile.mkbuild
index c629d98..979013d 100644
--- a/sys/apps/smartmontools/smartmontools.mkbuild
+++ b/app/editors/kile/kile.mkbuild
@@ -1,3 +1,8 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
#--------------------
# Personal variables
#--------------------
@@ -12,7 +17,7 @@
#------------------------
#
# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
-[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/smartmontools/smartmontools-5.37.tar.gz"
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/kile/kile-1.9.3.tar.bz2"
# Source base name. if different from package name. Null ("") to default value.
# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
@@ -23,9 +28,9 @@
[[PACKAGE NAME]]=""
#
-# Source Name construction string
-# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
-[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
#
# Package version. Null ("") to auto-set.
@@ -38,6 +43,16 @@
[[EXTENSION]]=""
#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
# Unpacker programa ("") to auto-set. Default "tar"
# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
[[UNPACKER]]=""
@@ -47,7 +62,7 @@
# Dependency list input
# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
# Example:
-[[SLACK REQUIRED]]=""
+[[SLACK REQUIRED]]="kdelibs"
#
# Decompress program
@@ -63,11 +78,11 @@
#
# Documentation files. Null ("") to auto-set commom doc-files:
# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
-[[DOCUMENTATION FILES]]="AUTHORS CHANGELOG COPYING INSTALL NEWS README TODO WARNINGS"
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL README TODO"
#
# ./configure options
-[[OTHER CONFIGURE ARGS]]=""
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix="
#
# PREFIX. Default /usr
@@ -75,24 +90,24 @@
#
# Number of jobs
-[[NUMBER OF JOBS]]="-j7"
+[[NUMBER OF JOBS]]="-j4"
#---------------------
# Others changes
#---------------------
-#[[PATCH FILES]]=""
#[[MD5SUM CODE]]=""
#[[MD5SUM EXTENSION]]=""
#[[SIGNING KEY]]=""
#[[SIGNING KEY URL]]=""
-#[[PATCH FILES]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
# SlackBuild model
[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
# SlackBuild PATH in Slack.Sarava tree
-#[[SLACKBUILD PATH]]="others/unclassified/smartmontools"
-[[SLACKBUILD PATH]]="sys/apps/smartmontools"
+#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]"
+[[SLACKBUILD PATH]]="app/editors/kile"
#---------------------
# SlackBuild Sections
@@ -131,15 +146,15 @@ off: postinstall_script
# Sections changes
#------------------
#>slackdesc
-smartmontools: smartmontools by Slack.Sarava
-smartmontools:
-smartmontools: smartmontools contains utilities that control and monitor
-smartmontools: storage devices using the Self-Monitoring, Analysis and
-smartmontools: Reporting Technology (S.M.A.R.T.) system build into ATA and
-smartmontools: SCSI Hard Drives. This is used to check the reliability of the
-smartmontools: hard drive and to predict drive failures. smartmontools Version
-smartmontools: 5.x is designed to comply to the ATA/ATAPI-5 specification
-smartmontools: (Revision 1). Future releases of smartmontools (Versions 6.x
-smartmontools: and 7.x) will comply with the ATA/ATAPI-6 and ATA/ATAPI-7
-smartmontools: specifications.
+kile: kile by Slack.Sarava
+kile:
+kile: Kile is an integrated LATEX environment for the KDE desktop. Kile gives
+kile: you the ability to use all the functionalities of LATEX in a graphical
+kile: interface, giving you easy, immediate, and customized access to all
+kile: programs for LATEX compiling, postprocessing, debugging, conversion and
+kile: viewing tools; you also get very handy wizards, a LATEX reference,
+kile: interfaces with GnuPlot and XFig, and project management.
+kile:
+kile:
+kile:
#<slackdesc
diff --git a/app/emulation/wine/wine.mkbuild b/app/emulation/wine/wine.mkbuild
new file mode 100644
index 0000000..2d5db7a
--- /dev/null
+++ b/app/emulation/wine/wine.mkbuild
@@ -0,0 +1,184 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rudson R. Alves"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rra"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.50.tar.bz2"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --localstatedir=/var"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]"
+[[SLACKBUILD PATH]]="app/emulation/wine"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+ on: install_documentation
+ on: slackdesc
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+wine: wine by Slack.Sarava
+wine:
+wine: Wine is a program which allows running Microsoft Windows programs
+wine: (including DOS, Windows 3.x and Win32 executables) on Unix. It
+wine: consists of a program loader which loads and executes a Microsoft
+wine: Windows binary, and a library (called Winelib) that implements
+wine: Windows API calls using their Unix or X11 equivalents. The library
+wine: may also be used for porting Win32 code into native Unix
+wine: executables.
+wine:
+#<slackdesc
+
+#>slkflags
+# Set system libraries' path and optmization flags based on $ARCH
+LIBDIR="$PREFIX/lib"
+
+if [ "$ARCH" = "i386" ]; then
+ SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
+elif [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIR="$PREFIX/lib64"
+ CONF_OPTIONS="$CONF_OPTIONS --enable-win64"
+fi
+#<slkflags
+
+#>make_package
+# Compile
+make depend || exit $ERROR_MAKE
+make $NUMJOBS || exit $ERROR_MAKE
+#</make_package
diff --git a/dev/libs/libdaemon/libdaemon.mkbuild b/dev/libs/libdaemon/libdaemon.mkbuild
index 9a05979..b7e59e3 100644
--- a/dev/libs/libdaemon/libdaemon.mkbuild
+++ b/dev/libs/libdaemon/libdaemon.mkbuild
@@ -80,7 +80,7 @@
#
# Number of jobs
-[[NUMBER OF JOBS]]="-j7"
+[[NUMBER OF JOBS]]="-j4"
#---------------------
# Others changes
diff --git a/media/libs/libdvdcss/libdvdcss.mkbuild b/media/libs/libdvdcss/libdvdcss.mkbuild
index d3a4b70..45ddfa5 100644
--- a/media/libs/libdvdcss/libdvdcss.mkbuild
+++ b/media/libs/libdvdcss/libdvdcss.mkbuild
@@ -140,8 +140,9 @@ libdvdcss:
#------------ Change untar_source -----------------
#>untar_source
# Untar
-cd "$TMP"
-tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TA
+cd "$PKG_WORK"
+[[UNPACKER]] [[UNPACKER FLAGS]] "$SRC_DIR/$SRC" || exit $ERROR_TAR
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Slackware 12.0 TeX set
diff --git a/media/sound/lame/lame.mkbuild b/media/sound/lame/lame.mkbuild
new file mode 100644
index 0000000..21d5c6e
--- /dev/null
+++ b/media/sound/lame/lame.mkbuild
@@ -0,0 +1,160 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rudson R. Alves"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rra"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/lame/lame-3.97.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]="API COPYING ChangeLog DEFINES HACKING INSTALL INSTALL.configure LICENSE README README.WINGTK STYLEGUIDE TODO USAGE"
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --disable-static"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]"
+[[SLACKBUILD PATH]]="media/sound/lame"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+ on: install_documentation
+ on: slackdesc
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+lame: lame by Slack.Sarava
+lame:
+lame: LAME is an LGPL MP3 encoder. The Open source development model allowed
+lame: to improve its quality and speed since 1999. It is now an highly evolved
+lame: MP3 encoder, with quality and speed able to rival state of the art
+lame: commercial encoders.
+lame:
+lame: LAME is able to encode your music using one of its 3 encoding modes:
+lame: constant bitrate (CBR), average bitrate (ABR) and variable bitrate
+lame: (VBR).
+lame:
+#<slackdesc
diff --git a/net/im/skype/skype.mkbuild b/net/im/skype/skype.mkbuild
new file mode 100644
index 0000000..22394d5
--- /dev/null
+++ b/net/im/skype/skype.mkbuild
@@ -0,0 +1,175 @@
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rudson R. Alves"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rra"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.skype.com/go/getskype-linux-static"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="skype_static"
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]="skype"
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]="1.4.0.118"
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]="bz2"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="dbus >= 1.0: alsa-lib >= 2.0: libsigc++ >= 2.0"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]="README LICENSE"
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr/share"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j7"
+
+#---------------------
+# Others changes
+#---------------------
+#[[PATCH FILES]]=""
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[PATCH FILES]]=""
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/skype"
+[[SLACKBUILD PATH]]="net/im/skype"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+off: slkflags
+ on: error_codes
+ on: start_structure
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+off: configure
+off: make_package
+ on: install_package
+off: strip_binaries
+off: compress_manpages
+off: compress_info_files
+ on: install_documentation
+ on: slackdesc
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+skype: Skype $VERSION, by Slack.Sarava
+skype:
+skype: Skype is a little piece of software that lets you talk over the
+skype: Internet to anyone, anywhere in the world for free.
+skype:
+skype:
+skype:
+skype:
+skype:
+skype:
+#<slackdesc
+
+#
+#>install_package
+# Install Skype
+mkdir -pv $PKG/$PREFIX/$PKG_NAME-$VERSION
+mkdir -pv $PKG/usr/bin
+mkdir -pv $PKG/usr/share/icons/hicolor/16x16/apps
+mkdir -pv $PKG/usr/share/icons/hicolor/32x32/apps
+mkdir -pv $PKG/usr/share/icons/hicolor/48x48/apps
+mkdir -pv $PKG/usr/share/applications
+
+# move files
+cp -av $PKG_SRC/* $PKG/$PREFIX/$PKG_NAME-$VERSION
+
+# change to skype dir
+cd $PKG/$PREFIX/$PKG_NAME-$VERSION
+
+# copy links
+cp icons/SkypeBlue_16x16.png ../../share/icons/hicolor/16x16/apps/skype.png
+cp icons/SkypeBlue_32x32.png ../../share/icons/hicolor/32x32/apps/skype.png
+cp icons/SkypeBlue_48x48.png ../../share/icons/hicolor/48x48/apps/skype.png
+
+# make links
+cd ../../bin/
+ln -s ../share/$PKG_NAME-$VERSION/skype skype
+cd -
+cd ../applications
+cp ../$PKG_NAME-$VERSION/skype.desktop skype.desktop
+
+cd $PKG_SRC
+#<install_package
diff --git a/sci/mathematics/scilab/scilab.mkbuild b/sci/mathematics/scilab/scilab.mkbuild
new file mode 100644
index 0000000..5877871
--- /dev/null
+++ b/sci/mathematics/scilab/scilab.mkbuild
@@ -0,0 +1,195 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rudson R. Alves"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rra"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.scilab.org/download/$VERSION"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="scilab"
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]="scilab"
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]="4.1.2"
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]="gz"
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION-src.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gtk+2"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]="ACKNOWLEDGEMENTS CHANGES README_Unix README_Windows.txt RELEASE_NOTES Readme_Visual.txt licence.txt license.txt release_notes.txt"
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--with-gfortran --prefix=/usr --with-tcl-library=/usr/lib64"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]"
+[[SLACKBUILD PATH]]="sci/mathematics/scilab"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+ on: install_documentation
+ on: slackdesc
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+scilab: scilab by Slack.Sarava
+scilab:
+scilab: Scilab is a scientific software package for numerical computations
+scilab: providing a powerful open computing enviroanment for engineering and
+scilab: scientific applications. Developed since 1990 by researchers from
+scilab: INRIA and ENPC, it is now maintained and developed by Scilab
+scilab: Consortium since its creation in May 2003.
+scilab: Distributed freely and open source (see the license and the
+scilab: trademark license) via the Internet since 1994, Scilab is currently
+scilab: being used in educational and industrial environments around the
+scilab: world.
+#<slackdesc
+
+#>make_package
+# Compile
+make all || exit $ERROR_MAKE
+#<make_package
+
+#>install_package
+# Change intall path
+eval "sed -i 's¦^PREFIX=$PREFIX¦PREFIX=$PKG/${PREFIX:1}¦' Makefile"
+make install
+
+cd $PKG
+for i in `grep -Rl '/tmp/package-scilab' usr/*`; do
+ sed -i 's:/tmp/package-scilab::g' $i
+done
+
+cd - >/dev/null
+
+# Make Scilab.desktop
+mkdir -p $PKG/usr/share/applications/ 2>/dev/null
+cat << EOF_KDE > $PKG/usr/share/applications/Scilab.desktop
+[Desktop Entry]
+Encoding=UTF-8
+Categories=Education;Math;
+Exec=scilab
+Icon=$PREFIX/lib/$PKG_NAME-$VERSION/X11_defaults/scilab.xpm
+StartupNotify=true
+Terminal=false
+Type=Application
+Name=Scilab
+GenericName=Scilab
+Comment=
+EOF_KDE
+
+#<install_package
diff --git a/sys/libs/libfreebob/libfreebob.mkbuild b/sys/libs/libfreebob/libfreebob.mkbuild
index 2c68a3c..0b8265a 100644
--- a/sys/libs/libfreebob/libfreebob.mkbuild
+++ b/sys/libs/libfreebob/libfreebob.mkbuild
@@ -82,7 +82,7 @@
#
# ./configure options
-[[OTHER CONFIGURE ARGS]]="--disable-static --program-prefix= --program-suffix= --build=$ARCH-slackware-linux"
+[[OTHER CONFIGURE ARGS]]="--program-prefix= --program-suffix= --build=$ARCH-slackware-linux"
#
# PREFIX. Default /usr
diff --git a/sys/process/htop/htop.mkbuild b/sys/process/htop/htop.mkbuild
index d4144e6..3622e7c 100644
--- a/sys/process/htop/htop.mkbuild
+++ b/sys/process/htop/htop.mkbuild
@@ -79,7 +79,8 @@
#[[MD5SUM EXTENSION]]=""
#[[SIGNING KEY]]=""
#[[SIGNING KEY URL]]=""
-#[[PATCH FILES]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
# SlackBuild model
[[SLACKBUILD MODEL]]="generic.mkSlackBuild"