LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 12-20-2005, 05:52 PM   #1
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
anybody use makepkg?


How good is makepkg at...making packages, haha?
 
Old 12-20-2005, 05:58 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
makepkg is decent for making packages, but I only have use for it to package compiled binaries. I use checkinstall for source.
 
Old 12-20-2005, 06:11 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,748

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by servnov
How good is makepkg at...making packages, haha?
In a word: Brilliant.

Its what Pat uses to package Slackware, so how could it be anything less?

checkinstall is fine, but I recall having problems with it in the distant past. This was way before it was available as an official Slackware package, so it may have changed.

I've been using makepkg ever since.
 
Old 12-20-2005, 09:14 PM   #4
quip
Member
 
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
Not to mention, what are you supposed to do when upgrading a package from source, if you use checkinstall? Does anyone have a suggestion? I used to removepkg right before I called checkinstall to install the upgraded package. It seems to work, but seems ugly. Lately, if the software supports DESTDIR, then I use makepkg, then upgradepkg.

But yeah, to echo to the OP, makepkg does great.
 
Old 12-20-2005, 09:36 PM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally Posted by servnov
How good is makepkg at...making packages, haha?
How good? I didn't realize there was something better.
I use it all the time. It is the Slack way and it works.
 
Old 12-21-2005, 10:48 AM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
The 1.60 checkinstall doesn't install the package, so you just do an upgradepkg on the new one created.
 
Old 12-21-2005, 11:55 AM   #7
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
I'm just starting to get a grip with slackbuild scripts and making packages, something a bit more powerful then checkinstall - and yeah, makepkg seems great
 
Old 12-21-2005, 12:05 PM   #8
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
Makepkg isn't that great.

While it is what i use, you could very easily just use tar to create a package. Makepkg is essentially tar that can change permissions of files to 755 if you tell it to(not very helpful anyway, since most files aren't going to be 755...)
 
Old 12-21-2005, 03:08 PM   #9
AxXium
Zenwalk Admin
 
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258

Rep: Reputation: 31
Has to be a joke

Quote:
anybody use makepkg? How good is makepkg at...making packages, haha?
What Slackware user in their right frame of mind would ask such a question..

That's like asking if anyone uses the linux kernel

I got a kick out of when he said...

Quote:
haha?

Last edited by AxXium; 12-21-2005 at 05:42 PM.
 
Old 12-21-2005, 04:04 PM   #10
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,748

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by liquidtenmilion
Makepkg isn't that great.

While it is what i use, you could very easily just use tar to create a package.
OK. So, why don't you use tar? By your own admission, you use makepkg, so your argument is baseless.

Quote:
Originally Posted by liquidtenmilion
Makepkg is essentially tar that can change permissions of files to 755 if you tell it to(not very helpful anyway, since most files aren't going to be 755...)
No. It doesn't do that. It only offers to change the permissions of the _directories_ in a package tree, not every file.

At the end of the day, makepkg is a shortcut. It saves me keystrokes, so that makes it brilliant.
 
Old 12-21-2005, 04:43 PM   #11
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
It wasn't like i was saying makepkg is bad, like i said, i personally use it. However, i hear it being praised here like it is the greatest thing since sliced bread. In reality it's no more than tar+chmoding to 755+symlinking, not very advanced. It doesn't compare with Arch's makepkg or gentoo's ebuilds.
 
Old 12-21-2005, 06:05 PM   #12
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally Posted by liquidtenmilion
...It doesn't compare with Arch's makepkg or gentoo's ebuilds.
Albeit, it is not like any Slackware user would want to use any Arch's or Gentoo's tools. Not me, at least.
 
Old 12-21-2005, 06:49 PM   #13
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,339

Rep: Reputation: 73
[edit]
nothing

Last edited by keefaz; 12-21-2005 at 06:50 PM.
 
Old 12-21-2005, 09:33 PM   #14
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally Posted by liquidtenmilion
In reality it's no more than tar+chmoding to 755+symlinking, not very advanced. It doesn't compare with Arch's makepkg or gentoo's ebuilds.
Yes, it doesn't compare. Thankfully. Being "advanced" is a very poor indicator of how effective, useful, and functional a particular system tool behaves. I continue to attest to how well it meets each of these criteria and would advocate anyone using it to create their Slack packages.
 
Old 12-22-2005, 06:36 AM   #15
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Quote:
Originally Posted by Xian
...I continue to attest to how well it meets each of these criteria and would advocate anyone using it to create their Slack packages.
fully agreed. That's the Slackware essence, isn't it? [as simple as it comes]
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
makepkg messed up permissions rgiggs Slackware 1 01-25-2005 04:17 AM
Makepkg Question Eklipz Slackware 5 11-12-2004 02:25 PM
kernal installation with makepkg? b0uncer Arch 4 02-28-2004 06:21 PM
pkgtool, makepkg Rico16135 Slackware 7 02-27-2004 05:12 PM
makepkg? digital bots Linux - Newbie 0 10-21-2002 10:22 PM


All times are GMT -5. The time now is 03:39 PM.

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