pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "package" target



On Thu, Mar 29, 2007 at 10:24:16PM +0200, Jan Danielsson wrote:
>    However, this fails if the package has already been installed.
> Although I can understand why, I would really like to be able to create
> packages of already installed packages. Is is doable?

Yes, install the "pkg_tarup" package and use "make tarup" afterwards in
"pkgsrc/category/pkgname" afterwards.

To create binary packages for all installed package you could use a
script like this:

#!/bin/sh
pkg_info -Q PKGPATH '*' |
while read DIR
do
        cd /usr/pkgsrc/$DIR
        make tarup
done

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/



Home | Main Index | Thread Index | Old Index