<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Different_Approach_To_Buildscripts</id>
	<title>Different Approach To Buildscripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Different_Approach_To_Buildscripts"/>
	<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;action=history"/>
	<updated>2026-04-08T07:45:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=567&amp;oldid=prev</id>
		<title>Rworkman: Reverted edits by Esmapebb (talk) to last revision by Dugan</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=567&amp;oldid=prev"/>
		<updated>2011-12-09T14:11:17Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/Special:Contributions/Esmapebb&quot; title=&quot;Special:Contributions/Esmapebb&quot;&gt;Esmapebb&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Esmapebb&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Esmapebb (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last revision by &lt;a href=&quot;/index.php?title=User:Dugan&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Dugan (page does not exist)&quot;&gt;Dugan&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:11, 9 December 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pretty much everyone can &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hanve &lt;/del&gt;their own way of writing Slackware buildscripts. I also have mine, which just makes it easier for me to package software.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pretty much everyone can &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;have &lt;/ins&gt;their own way of writing Slackware buildscripts. I also have mine, which just makes it easier for me to package software.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In here, I'm going to explain mine. To start, let's look at one I wrote this morning while drinking coffee cup #1:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In here, I'm going to explain mine. To start, let's look at one I wrote this morning while drinking coffee cup #1:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rworkman</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=540&amp;oldid=prev</id>
		<title>Merge-delete at 10:18, 9 December 2011</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=540&amp;oldid=prev"/>
		<updated>2011-12-09T10:18:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:18, 9 December 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Tutorials]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pretty much everyone can &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;have &lt;/del&gt;their own way of writing Slackware buildscripts. I also have mine, which just makes it easier for me to package software.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pretty much everyone can &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hanve &lt;/ins&gt;their own way of writing Slackware buildscripts. I also have mine, which just makes it easier for me to package software.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In here, I'm going to explain mine. To start, let's look at one I wrote this morning while drinking coffee cup #1:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In here, I'm going to explain mine. To start, let's look at one I wrote this morning while drinking coffee cup #1:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Merge-delete</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=30&amp;oldid=prev</id>
		<title>Dugan: Migrated from old wiki</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Different_Approach_To_Buildscripts&amp;diff=30&amp;oldid=prev"/>
		<updated>2009-05-28T20:23:32Z</updated>

		<summary type="html">&lt;p&gt;Migrated from old wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
Pretty much everyone can have their own way of writing Slackware buildscripts. I also have mine, which just makes it easier for me to package software.&lt;br /&gt;
&lt;br /&gt;
In here, I'm going to explain mine. To start, let's look at one I wrote this morning while drinking coffee cup #1:&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    &lt;br /&gt;
    #############################################################################&lt;br /&gt;
    ## Name: jpilot                                                            ##&lt;br /&gt;
    ## Version: 0.99.8                                                         ##&lt;br /&gt;
    ## Packager: Martin Lefebvre (dadexter@gmail.com)                          ##&lt;br /&gt;
    ## Homepage: http://www.jpilot.org                                         ##&lt;br /&gt;
    #############################################################################&lt;br /&gt;
    &lt;br /&gt;
    PKGNAME=jpilot&lt;br /&gt;
    VERSION=0.99.8&lt;br /&gt;
    LOC=&amp;quot;http://jpilot.org/$PKGNAME-$VERSION.tar.gz&amp;quot;&lt;br /&gt;
    ARCH=`uname -m`&lt;br /&gt;
    &lt;br /&gt;
    START=`pwd`&lt;br /&gt;
    PKG=$START/pkg&lt;br /&gt;
    SRC=$START/work&lt;br /&gt;
    &lt;br /&gt;
    build() {&lt;br /&gt;
            mkdir -p $PKG $SRC&lt;br /&gt;
            cd $SRC&lt;br /&gt;
            wget $LOC&lt;br /&gt;
            tar -zxvf $PKGNAME-$VERSION.tar.gz&lt;br /&gt;
            cd $PKGNAME-$VERSION&lt;br /&gt;
            ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \&lt;br /&gt;
            --enable-gtk2 --enable-prometheon&lt;br /&gt;
            &lt;br /&gt;
            patch -p0 &amp;lt; patch.0.99.8-memory&lt;br /&gt;
            patch -p0 &amp;lt; patch.jpilot-sync&lt;br /&gt;
            make&lt;br /&gt;
            make DESTDIR=$PKG install&lt;br /&gt;
            mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION&lt;br /&gt;
            cp -r ABOUT-NLS AUTHORS BUGS COPYING ChangeLog ChangeLog.cvs INSTALL \&lt;br /&gt;
            NEWS README TODO UPGRADING docs $PKG/usr/doc/$PKGNAME-$VERSION&lt;br /&gt;
            &lt;br /&gt;
            cp KeyRing/README.txt $PKG/usr/doc/$PKGNAME-$VERSION/README.keyring&lt;br /&gt;
            cp dialer/README $PKG/usr/doc/$PKGNAME-$VERSION/README.dialer&lt;br /&gt;
            cp icons/README $PKG/usr/doc/$PKGNAME-$VERSION/README.icons&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    package() {&lt;br /&gt;
            cd $PKG&lt;br /&gt;
            find . | xargs file | grep &amp;quot;executable&amp;quot; | grep ELF | cut -f 1 -d : \&lt;br /&gt;
            | xargs strip --strip-unneeded 2&amp;gt; /dev/null&lt;br /&gt;
            find . | xargs file | grep &amp;quot;shared object&amp;quot; | grep ELF | cut -f 1 -d : \&lt;br /&gt;
            | xargs strip --strip-unneeded 2&amp;gt; /dev/null&lt;br /&gt;
            find . | xargs file | grep &amp;quot;current ar archive&amp;quot; | cut -f 1 -d : | \&lt;br /&gt;
            xargs strip --strip-debug 2&amp;gt; /dev/null&lt;br /&gt;
            chown -R root:root usr/bin&lt;br /&gt;
            gzip -p $PKG/usr/man/man*/*&lt;br /&gt;
            mkdir $PKG/install&lt;br /&gt;
            cp $START/slack-desc $PKG/install/slack-desc&lt;br /&gt;
            cd $PKG&lt;br /&gt;
            makepkg -l y -c n $START/$PKGNAME-$VERSION-$ARCH-1.tgz&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    build&lt;br /&gt;
    package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The top section is just comments identifying the piece of software we're going to build, and the name of the script's author. Then we have the following lines:&lt;br /&gt;
&lt;br /&gt;
    PKGNAME=jpilot&lt;br /&gt;
    VERSION=0.99.8&lt;br /&gt;
    LOC=&amp;quot;http://jpilot.org/$PKGNAME-$VERSION.tar.gz&amp;quot;&lt;br /&gt;
    ARCH=`uname -m`&lt;br /&gt;
    &lt;br /&gt;
    START=`pwd`&lt;br /&gt;
    PKG=$START/pkg&lt;br /&gt;
    SRC=$START/work&lt;br /&gt;
&lt;br /&gt;
They set the program's name, version, download URL, build and package directories. Since I usually don't specify anything related to the cpu or architecture, it auto detects the architecture. So, the $ARCH variable *should be* accurate.&lt;br /&gt;
&lt;br /&gt;
    build() {&lt;br /&gt;
            mkdir -p $PKG $SRC&lt;br /&gt;
            cd $SRC&lt;br /&gt;
            wget $LOC&lt;br /&gt;
            tar -zxvf $PKGNAME-$VERSION.tar.gz&lt;br /&gt;
            cd $PKGNAME-$VERSION&lt;br /&gt;
            ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \&lt;br /&gt;
            --enable-gtk2 --enable-prometheon&lt;br /&gt;
            &lt;br /&gt;
            patch -p0 &amp;lt; patch.0.99.8-memory&lt;br /&gt;
            patch -p0 &amp;lt; patch.jpilot-sync&lt;br /&gt;
            make&lt;br /&gt;
            make DESTDIR=$PKG install&lt;br /&gt;
            mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION&lt;br /&gt;
            cp -r ABOUT-NLS AUTHORS BUGS COPYING ChangeLog ChangeLog.cvs INSTALL \&lt;br /&gt;
            NEWS README TODO UPGRADING docs $PKG/usr/doc/$PKGNAME-$VERSION&lt;br /&gt;
            &lt;br /&gt;
            cp KeyRing/README.txt $PKG/usr/doc/$PKGNAME-$VERSION/README.keyring&lt;br /&gt;
            cp dialer/README $PKG/usr/doc/$PKGNAME-$VERSION/README.dialer&lt;br /&gt;
            cp icons/README $PKG/usr/doc/$PKGNAME-$VERSION/README.icons&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
The is the main build function. This contains the code required to build the software. First, we create the build and package directories. The next 3 lines change to the building diirectory, uses wget to fetch the source file and extracts it.&lt;br /&gt;
&lt;br /&gt;
The lines after that are what you would normally type at your command line to build the software:&lt;br /&gt;
&lt;br /&gt;
* Change to the source directory.&lt;br /&gt;
* Run ./configure with all the options you want.&lt;br /&gt;
* Apply two patches required (in this case) to fix bugs with the software.&lt;br /&gt;
* Run make&lt;br /&gt;
* Install the software in the package directory defined by $PKG&lt;br /&gt;
* Create the standard Slackware Software Documentation directory in the package&lt;br /&gt;
* Copy the standard documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The next section is the packaging part:&lt;br /&gt;
&lt;br /&gt;
    package() {&lt;br /&gt;
            cd $PKG&lt;br /&gt;
            find . | xargs file | grep &amp;quot;executable&amp;quot; | grep ELF | cut -f 1 -d : \&lt;br /&gt;
            | xargs strip --strip-unneeded 2&amp;gt; /dev/null&lt;br /&gt;
            find . | xargs file | grep &amp;quot;shared object&amp;quot; | grep ELF | cut -f 1 -d : \&lt;br /&gt;
            | xargs strip --strip-unneeded 2&amp;gt; /dev/null&lt;br /&gt;
            find . | xargs file | grep &amp;quot;current ar archive&amp;quot; | cut -f 1 -d : | \&lt;br /&gt;
            xargs strip --strip-debug 2&amp;gt; /dev/null&lt;br /&gt;
            chown -R root:root usr/bin&lt;br /&gt;
            gzip -p $PKG/usr/man/man*/*&lt;br /&gt;
            mkdir $PKG/install&lt;br /&gt;
            cp $START/slack-desc $PKG/install/slack-desc&lt;br /&gt;
            cd $PKG&lt;br /&gt;
            makepkg -l y -c n $START/$PKGNAME-$VERSION-$ARCH-1.tgz&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
* We change to the package directory&lt;br /&gt;
* Strip executables and libraries in order to decrease size.&lt;br /&gt;
* As a Slackware standard, we change the ownership of the executables to root:root (to be done for every bin/ and sbin/ directory)&lt;br /&gt;
* We compress the manpages&lt;br /&gt;
* Create install/ and copy the slack-desc file from the start directory&lt;br /&gt;
* Finally, change back to the package folder and create the package tarball.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, the slack-desc and some patch files are distributed with the SlackBuild. This also makes it easier to ship the build script with patches that might be required for the software to work on Slackware (patch to remove PAM stuff).&lt;br /&gt;
&lt;br /&gt;
The slack-desc file format is described here: [http://www.linuxpackages.net/howto.php?page=slack-desc&amp;amp;title=Slackware+Desc+Files LinuxPackages.net]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional files:&lt;br /&gt;
&lt;br /&gt;
Some people use slapt-get (like me). slapt-get supports additional features such as&lt;br /&gt;
* Dependencies&lt;br /&gt;
* Conflicts&lt;br /&gt;
* Suggestions&lt;br /&gt;
&lt;br /&gt;
Not everyone wants those features, so building a package with those files will not interfere with the normal pkgtools process. For more info on these optional files, go here: [http://www.linuxpackages.net/howto.php?page=perfect-package&amp;amp;title=Perfect+Package#Optional LinuxPackages.net]&lt;br /&gt;
&lt;br /&gt;
If you decide to use those files, you will then have to repeat these lines:&lt;br /&gt;
&lt;br /&gt;
    cp $START/slack-desc $PKG/install/slack-desc&lt;br /&gt;
&lt;br /&gt;
for slack-required, slack-conflicts, and slack-suggests.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
See also [[SlackBuild_Scripts]] and [[Writing A SlackBuild Script]]&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Dugan</name></author>
	</entry>
</feed>