Index: [Article Count Order] [Thread]

Date:  Thu, 8 Jun 2006 10:42:00 +0100
From:  "James Mcloughlin" <laserfox (at mark) gmail.com>
Subject:  [coba-e:05585] Re: How to make BlueQuartz packages?
To:  coba-e (at mark) bluequartz.org
Message-Id:  <bd69a7150606080242q49468f79h3d2bb753aa1231c2 (at mark) mail.gmail.com>
In-Reply-To:  <20060608034308.M45551 (at mark) ds3.net>
References:  <20060608034308.M45551 (at mark) ds3.net>
X-Mail-Count: 05585

Hi Yada,

The pkg format is usually a tarball.

Inside the tarball, you have something like the following layout :

packing_list
RPMS/
RPMS/an_rpm.i386.rpm
RPMS/another_rpm.i386.rpm
scripts/
scripts/post-install/
scripts/post-install/script
scripts/pre-install/
scripts/pre-install/script
scripts/pre-uninstall/
scripts/pre-uninstall/script
scripts/post-uninstall/
scripts/post-uninstall/script
scripts/other

The server unpacks, reads the packing list, runs the pre-install scripts,
then installs rpms.
After that, it will exectute the post-install scripts.
The best way to learn how to build a package, it to take a current package
apart:

tar -xvf BlueQuartz-FC1-Awstats-5.9-3.pkg (as an example).

Note, I think I remember seeing some packages gzipped also
After building your package,  put it all together with a tar command like:

tar -cvf BlueQuartz-FC1-Awstats-5.9-3-1.pkg RPMS scripts packing_list

Dear List, Please correct me if I am wrong!

Jimbob





On 08/06/06, Yada Ho <yada (at mark) ds3.net> wrote:
>
> Please to help me to find sources of information for how to creating
> packages for
> BlueQuartz.
>
>
>

	

5585_2.html (attatchment)