From 9641c8a2a8c5a9b976ad408949a7b6bcf291be95 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 22 Apr 2008 19:25:41 +0000 Subject: added bogosort git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@105 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- app/text/bogosort/bogosort.mkbuild | 112 +++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 app/text/bogosort/bogosort.mkbuild (limited to 'app') diff --git a/app/text/bogosort/bogosort.mkbuild b/app/text/bogosort/bogosort.mkbuild new file mode 100644 index 0000000..d4dad5e --- /dev/null +++ b/app/text/bogosort/bogosort.mkbuild @@ -0,0 +1,112 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.debian.org/debian/pool/main/b/bogosort/bogosort_0.4.2.orig.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]]="bogosort" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="0.4.2" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME"_"$VERSION.orig.tar.$EXTENSION" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" + +#--------------------- +# Others changes +#--------------------- +[[PATCH URLS]]="http://ftp.debian.org/debian/pool/main/b/bogosort/bogosort_0.4.2-2.diff.gz" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/bogosort" +[[SLACKBUILD PATH]]="app/text/bogosort" + +#--------------------- +# 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 +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: 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: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +bogosort: bogosort (sorts or doesn't sort files or standard input) +bogosort: +bogosort: bogosort sorts files or its standard input using the "bogo-sort" +bogosort: algorithm. It can also just randomise the lines in its input, +bogosort: allowing you to perform your own check in a loop. +bogosort: +bogosort: +bogosort: +bogosort: +bogosort: +bogosort: +#