vp-build/binpkg/BINPKG_INFO.txt
Juan RP b2c180348e First check in progress for binary packages.
It's explained in the BINPKG_INFO.txt file, and will be extended
probably in a not so distant future. My next work will be working
in the code to handle binary packages with a new utility in C.

--HG--
extra : convert_revision : 1a1846e330fdb11f3dd79cf9d9f12c614098cfe8
2008-12-11 03:22:54 +01:00

41 lines
1.1 KiB
Plaintext

A binary package built with xbps is a normal tar(1) archive, compressed
with gzip, bzip2 or lzma and has the following structure:
/
/usr ------|
/var ------| => Package structure that will be installed.
/etc ------|
...
/xbps-metadata
/xbps-metadata/flist
/xbps-metadata/props.plist
/xbps-metadata/postpre-action.sh
The xbps-metadata directory contains all the metadata related to this
package. The flist file contains the list of files that the package will
install. The props.plist file is a proplib(3) property list and
has the following structure:
<dict>
<key>architecture</key>
<string>x86_64</string>
<key>installed_size</key>
<integer>500000</integer>
<key>configuration_files</key>
<array>
<string>/etc/foo.conf</string>
...
</array>
<key>run_depends</key>
<array>
<string>bofh-2.0</string>
<string>foof-1.1</string>
...
</array>
</dict>
This plist might be extended in the future if it's required or useful.
The postpre-action.sh script will be run as specified in the script,
and will do post/pre installation steps required for this package.