Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-27-2010, 03:20 AM
|
#1
|
|
Member
Registered: Nov 2006
Posts: 249
Rep:
|
src2pkg question
Hello,
When I do slackpkg -N package I get a build script.
I can change that so It will do what I want.
But what can I do so slackpkg makes a slackware package and uses the adapted build script ?
Roelof
Last edited by charlie_lab; 06-27-2010 at 04:48 AM.
|
|
|
|
06-27-2010, 03:41 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
Quote:
|
When I do slackpkg -N package I get a build script.
|
Are you sure? Slackpkg doesn't have a -N option on my machine here is the output of slackpkg help
Quote:
root@quad:/home/samac/Downloads# slackpkg help
slackpkg - version 2.81.1
Usage: slackpkg update [gpg] download and update files and
package indexes
slackpkg check-updates check if there is any news on
Slackware's ChangeLog.txt
slackpkg install package download and install packages
slackpkg upgrade package download and upgrade packages
slackpkg reinstall package same as install, but for packages
already installed
slackpkg remove package remove installed packages
slackpkg clean-system remove all packages which are not
present in the official Slackware
package set. Good to keep the house
in order
slackpkg upgrade-all sync all packages installed in your
machine with the selected mirror. This
is the correct way to upgrade all of
your machine.
slackpkg install-new install packages which are added to
the official Slackware package set.
Run this if you are upgrading to another
Slackware version or using current.
slackpkg blacklist Blacklist a package. Blacklisted
packages cannot be upgraded, installed,
or reinstalled by slackpkg
slackpkg download Only download (do not install) a package
slackpkg info package Show package information
(works with only ONE package)
slackpkg search package Search packages that have a
selected name
slackpkg file-search file Search for a specific file in the
entire package collection
slackpkg new-config Search for new configuration files and
ask to user what to do with them.
slackpkg generate-template Create a template with all
official Slackware packages installed
in your machine.
slackpkg install-template Install selected template.
slackpkg remove-template Remove selected template. Be careful.
slackpkg help Show this screen.
You can see more information about slackpkg usage and some examples
in slackpkg's manpage. You can use partial package names (such as xorg
instead of xorg-server, xorg-docs, etc), or even Slackware series
(such as n,ap,xap,etc) when searching for packages.
|
samac
|
|
|
|
06-27-2010, 04:06 AM
|
#3
|
|
Member
Registered: Nov 2006
Posts: 249
Original Poster
Rep:
|
Hello,
Sorry, I ment slack2pkg ?
Roelof
|
|
|
|
06-27-2010, 04:10 AM
|
#4
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
Just realised that you mean src2pkg. Sorry I don't have that installed but the package creator "gnashley" is often on this forum.
samac
Last edited by samac; 06-27-2010 at 04:26 AM.
|
|
|
|
06-27-2010, 04:27 AM
|
#5
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,620
|
Quote:
|
Sorry, I ment slack2pkg ?
|
I guess, the question mark means ? src2pkg ?
' src2pkg -N ' is supposed to :
""Generate a starting src2pkg script and description file only.""
( from 'man src2pkg' ).
.....
|
|
|
|
06-27-2010, 04:47 AM
|
#6
|
|
Member
Registered: Nov 2006
Posts: 249
Original Poster
Rep:
|
Hello,
I found it.
I can do it with src2pkg -X in the current directory will do it.
Roelof
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|