|
Print
PDF
Format for the slack-desc file
The Slackware description file is used by the Slackware package system. It allows it to
store a description of the package to be installed. If the format is not correct the
package tools will not display the information about the package correctly.
Below is a recommeded layout for the slack-desc file. We have added a few things
that also enhance the file for Linuxpackages. There is no requirement for this
but it helps the system process your package.
As you can see the file must contain exactly 11 lines even if you do not fill up the lines
you need to still add the package name line like bind:. Also do not exceed the right margin the ruler
will help you. The only thing we would like added is the version number and your name to the file for any download
utilities out there that may be parsing this file for information.
We also have a page that you can use to help you create that
perfect slack-desc file. You can use the tool
here.
A key to remember when creating this file is that you must start each line with the
name of the package. If the name does not match what the filename is it will not
be displayed. For instance if your package file name is bind-9.0.0-i486-1.tgz each line
must start with bind:. If you have a file name such as myprog-an-9.0.0-i486-1.tgz
each line must start with myprog-an:.
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
       |-----handy-ruler------------------------------------------------------|
bind: bind version (DNS server and utilities)
bind:
bind: The named daemon and support utilities such as dig, host
bind: and nslookup. Sample configuration files for running a
bind: simple caching nameserver are included. Documentation
bind: for advanced setup can be found in /usr/doc/bind-9.x.x/.
bind:
bind:
bind: Package created by YOUR NAME HERE
bind:
bind:
|