LinuxQuestions.org
Visit Jeremy's Blog.
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 10-14-2004, 12:14 AM   #1
cutraman88
LQ Newbie
 
Registered: Oct 2004
Location: Peru/Lima
Distribution: slackware -slax
Posts: 2

Rep: Reputation: 0
tgz package for acrobat reader


Is there any way to build a tgz (slack) package for acrobat reader 5.0X ??
I know adobe site is offering a binary for linux systems but I need a tgz package in order to build a module for Slax (slackware live CD) .
Any help please?? Should I get an RPM package and then use rpm2tgz command?
Thanks in advance.
 
Old 10-14-2004, 12:36 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
If they have a tar.gz use that. unpack into an empty dir and have a look. Then use makepkg to build a Slack package.
Or use an rpm and after rpm2tgz do 'explodepkg' and then makepkg after cleaning up or whatever.
 
Old 10-14-2004, 11:37 AM   #3
cutraman88
LQ Newbie
 
Registered: Oct 2004
Location: Peru/Lima
Distribution: slackware -slax
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you
gnashley
(your answer was as fast as a bullet!!!!)
Linuxquestions's forum rocks!!!
 
Old 10-14-2004, 01:22 PM   #4
xammy
LQ Newbie
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware 9
Posts: 1

Rep: Reputation: 0
Hello,

Quote:
If they have a tar.gz use that. unpack into an empty dir and have a look. Then use makepkg to build a Slack package.
Simply "having a look" won't be much useful, because if you download a program in tar.gz format, you'll mostly find the sourcecode inside! these instructions work in many ways, if you watch the output.

Code:
tar -xzf program.tar.gz 
cd program/
./configure
make
make install DESTDIR=yourbuildpath
(everyting without root permissions, so you detect errors, if this scripts wants to install some files into the main filetree, instead of the place where you want to build your package)

this should compile and put it into yourbuildpath. then you take a look and build your .tgz with makepkg.

Last edited by xammy; 10-14-2004 at 01:23 PM.
 
Old 10-15-2004, 12:12 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
It's true that most source-code packages come as tar.gz files, except for kernel source. However, many binary packages also come as tar.gz archives, which must then be installed by running a script.
Opera comes this way, ROX-Filer comes this way, and I think Acrobat will also -he'll not get the source code for Acrobat, anyway.
'Have a look' is a bit vague . If you don't see a file called 'Makefile', then you can probably be sure it is not source code. If there is a file called 'install' or similar, open it with a text editor and try to figure out what it going to do.
If you just want to use Acrobat, just run the installer and don't worry about it. It may have an uninstaller also. If you really want to make it into a Slackware package you'll need to study the use of 'makepkg'.
 
  


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
Acrobat reader prffzc Linux - Software 12 05-14-2005 01:07 AM
acrobat reader package alaios Debian 8 04-01-2005 12:26 PM
Acrobat Reader unixfreak *BSD 4 07-24-2004 11:15 AM
Acrobat reader 5.06 helenvale Linux - Newbie 10 07-27-2003 06:59 PM
acrobat reader samon Linux - Software 15 02-24-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration