You are not logged in.

#1 2009-04-02 00:20:12

abijr
Member
Registered: 2008-05-18
Posts: 71

rpmextract and novell iprint

To print at school I need to install client,
Fortunately it supports linux but its in rpm format.

I used rpmextract guess what: extract the rpm.
Now, I get these 3 folders: opt usr var etc
which contain several things, I imagine I need to copy them to
their respective locations, but I think its dangerous to just copy the folders.
It doesn't contain any build scripts or anything.

I have experience making simple PKGBUILDS, but have no idea if
I'm just to put in the PKGBUILD cp $startdir/opt  /
(to copy the folders to "/")

Now this is important, I don't want to reinstall Arch because of messed up etc and usr folders. But I'd like to print from my lap at school...


Thanks in advance, you don't need to make a horribly long explanation,
if there is documentation just point it out, and I'll give it a shot. (I googled for about an 1 hour and found only rpmextract)

Offline

#2 2009-04-02 02:26:55

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: rpmextract and novell iprint

abijr wrote:

I have experience making simple PKGBUILDS, but have no idea if
I'm just to put in the PKGBUILD cp $startdir/opt  /
(to copy the folders to "/")

Use the Arch Wiki to read about PKGBUILD and makepkg basics.  Copying directly to / in the PKGBUILD will fail (unless you run makepkg as root, which is even worse) and defeats the purpose of using PKGBUILDs.  For rpms/debs, basically you just extract with rpmextract/deb2targz and then copy stuff from $srcdir/blah to $pkgdir/blah.

Last edited by tdy (2009-04-02 03:05:59)

Offline

#3 2009-04-02 23:10:09

abijr
Member
Registered: 2008-05-18
Posts: 71

Re: rpmextract and novell iprint

But I think that come out of the rpmextract       
are to be copied to their respective directories.
Its like sort of daemon because <<< it doesn't generate any binaries >>>

Its not a program, its a something that connects to
CUPS, so that it gives you the ability to connect to a Novell print server.

Offline

Board footer

Powered by FluxBB