SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm developing a SlackBuild for dar 2.3.10 and it's all looking good subject to testing dar by usage except when installing the package there is no description after the "PACKAGE DESCRIPTION:" line:
Code:
root@CW8:/tmp/dar# ./dar.SlackBuild
[big snip]
Slackware package /tmp/dar-2.3.10-x86_64-1_SBo.tgz created.
root@CW8:/tmp/dar# installpkg /tmp/dar-2.3.10-x86_64-1_SBo.tgz
Verifying package dar-2.3.10-x86_64-1_SBo.tgz.
Installing package dar-2.3.10-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION: <== Should there be a description after this line?
Executing install script for dar-2.3.10-x86_64-1_SBo.tgz.
Package dar-2.3.10-x86_64-1_SBo.tgz installed.
The dar.SlackBuild script includes
Code:
# Copy the slack-desc into the package's install directory
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
and slack-desc is in /tmp/SBo/package-dar/install after the dar.SlackBuild script has run.
What is the beginning of each of the 11 lines of description in the slack-desc, and what is the name of the top-level directory which contains the source-code? These items must match the finished package name. So in this case, your finished package is:
dar-2.3.10-x86_64-1_SBo.tgz
So the beginning of the slack-desc description lines should be:
dar:
And the top-level directory inside the source archive, should be called "dar".
If two (EDIT: maybe not all three; the source folder name may be irrelevant) of these things don't match, the slack-desc text doesn't get shown on installation.
Last edited by GrapefruiTgirl; 10-24-2010 at 11:31 AM.
Reason: see EDIT
root@CW8:/tmp/SBo/package-dar/install# cat slack-desc
appname: dar (disk archive)
appname:
appname: dar is a shell command that backs up directory trees and files. It
appname: has been tested under Linux, Windows, Solaris, FreeBSD, NetBSD,
appname: MacOS X and several other systems, it is released under the GNU
appname: General Public License (GPL). Since version 2.0.0 an Application
appname: Interface (API) is available, opening the way for external/independent
appname: Graphical User Interfaces (GUIs) like kdar.
appname:
appname: Homepage: http://dar.linux.free.fr/
appname:
Could have sworn I'd searched for it and looked at the pending queue! No point re-inventing the wheel. Never mind, the lesson about appname is useful for the yad SlackBuild I'm developing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.