1Alien::Package::Slp(3)User Contributed Perl DocumentationAlien::Package::Slp(3)
2
3
4
6 Alien::Package::Slp - an object that represents a slp package
7
9 This is an object class that represents a slp package. It is derived
10 from Alien::Package.
11
13 The following data is global to the class, and is used to describe the
14 slp package format, which this class processes directly.
15
16 footer_size
17 Complete sizeof(slpformat) from slp.h in the stampede package
18 manager source.
19
20 footer_packstring
21 This is the pack format string for the footer. (A=space terminated
22 character, I=unsigned integer.)
23
24 footer_version
25 What package format are we up to now? (Lowest one this is still
26 compatible with.)
27
28 archtrans
29 This is a translation table between architectures and the number
30 that represents them in a slp package.
31
32 fieldlist
33 This is a list of all the fields in the order they appear in the
34 footer.
35
37 compresstype
38 Holds the compression type used in the slp file.
39
40 slpkgversion
41 Holds the slp package format version of the slp file.
42
44 checkfile
45 Detect slp files by their extension.
46
47 install
48 Install a slp. Pass in the filename of the slp to install.
49
50 getfooter
51 Pulls the footer out of the slp file and returns it.
52
53 scan
54 Implement the scan method to read a slp file.
55
56 unpack
57 Unpack a slp file. They can be compressed in various ways,
58 depending on what is in the compresstype field.
59
60 build
61 Build a slp.
62
63 conffiles
64 Set/get conffiles.
65
66 When the conffiles are set, the format used by slp (a colon-
67 delimited list) is turned into the real list that is used
68 internally. The list is changed back into slp's internal format
69 when it is retrieved.
70
71 copyright
72 Set/get copyright.
73
74 When the copyright is set, the number used by slp is changed into a
75 textual description. This is changed back into a number when the
76 value is retrieved.
77
78 arch
79 Set/get arch.
80
81 When the arch is set, the number used by slp is changed into a
82 textual description. This is changed back into a number when the
83 value is retrieved.
84
85 release
86 Set/get release version.
87
88 When the release version is retrieved, it is converted to an
89 unsigned integer, as is required by the slp package format.
90
92 Joey Hess <joey@kitenet.net>
93
94
95
96perl v5.28.0 2015-09-10 Alien::Package::Slp(3)