The SlackBuilds.org project is maintained by a small group of people, but we want the scripts in our repository to be representative of the entire Slackware user community. There's no way that the few of us can possibly write scripts for all of the extra applications that users want to have, so we depend on YOU to help us out. If there's some application that you use, and we don't have it in our repository already, please consider writing a build script for it and submitting it to us for possible inclusion. See below for our submission requirements.
Submit scripts for possible inclusion using our SlackBuilds Upload Form, but make sure you follow the guidelines below. Do not include the source code or your upload will be rejected.
Before expending time and effort in writing a build script, be sure to search our repository to make sure one doesn't already exist. Also, you may wish to have a look at the pending queue to see if someone else has already submitted what you're planning to do.
You will still need to read the list of requirements, but we have a SlackBuild Script Template available if you would like to download it for easy editing.
All submissions should be an archive, compressed or uncompressed - either one is fine - (tar, tar.gz, or tar.bz2) of a directory (named according to the application's name) containing at least the following files:
$PRGNAM.SlackBuild (for instance, rdesktop.SlackBuild)
slack-desc
README
$PRGNAM.info (for instance, rdesktop.info)
/bin/sh only - not /bin/bash or
some other shell. Also, do not use any bash- or other shell-specific
extensions.
#!/bin/sh
# Slackware build script for torsmo
# Written by (your name) (your contact information)
PRGNAM=torsmo
VERSION=0.18
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
Inclusion of the _SBo tag is a requirement.
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
tar xvf $PRGNAM.$VERSION.tar.gz || exit 1
See the SlackWiki.org slack-desc tutorial for information on how to create a good slack-desc file.
The README file should contain at least the following information:
The info file should contain the following information in the exact format given below:
Pay attention to the fact that all values are enclosed in double quotes; this is a requirement. Other double quotes embedded in the string are not allowed.PRGNAM="rdesktop"
VERSION="1.4.1"
HOMEPAGE="http://rdesktop.org"
DOWNLOAD="http://downloads.sourceforge.net/rdesktop/rdesktop-1.4.1.tar.gz"
MD5SUM="78dd2bae04edf1cb9f65c29930dcc993"
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
Once you're certain that your script meets our guidelines, submit it using the SlackBuilds Upload Form.
© 2006-2008
SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of
Patrick Volkerding
Linux® is a registered trademark of
Linus Torvalds
Valid XHTML
and
CSS by
WebSight Designs | Hosting by
OnyxLight Communications