LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-27-2010, 03:20 AM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
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.
 
Old 06-27-2010, 03:41 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,399

Rep: Reputation: 131Reputation: 131
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
 
Old 06-27-2010, 04:06 AM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

Sorry, I ment slack2pkg ?

Roelof
 
Old 06-27-2010, 04:10 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,399

Rep: Reputation: 131Reputation: 131
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.
 
Old 06-27-2010, 04:27 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,212

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
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' ).
.....
 
Old 06-27-2010, 04:47 AM   #6
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

I found it.

I can do it with src2pkg -X in the current directory will do it.

Roelof
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash Script Question / Slackpkg smoooth103 Slackware 5 05-17-2010 12:55 PM
slackpkg question Akheron Linux - Newbie 3 06-07-2009 01:20 PM
Slackpkg upgrade question chocloman Slackware 5 05-01-2007 01:28 PM
fluxbox and slackpkg question YBA^[x] Slackware 4 12-22-2004 12:58 PM
slackpkg question ralvy Slackware 2 11-19-2004 04:48 PM


All times are GMT -5. The time now is 03:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration