Tom G. Christensen
a6007c62d5
Update copyright years
2012-05-27 10:06:26 +02:00
Tom G. Christensen
09c04aeabb
Remove trailing whitespace
2012-05-26 10:54:42 +02:00
Tom G. Christensen
0c7484d227
Add support for xz compressed tarballs
2012-05-21 20:23:35 +02:00
Tom G. Christensen
8015851ba8
Make sure compver files are regenerated
2011-06-03 16:09:35 +02:00
Tom G. Christensen
0ae7c57a2c
Update copyright years
2010-01-10 11:51:32 +01:00
Tom G. Christensen
80e4a9d3fc
Separate buildtree and buildpkg code
...
Code is now located via BUILDPKG_SCRIPTS while the buildtree is located
via BUILDPKG_BASE.
2010-01-10 11:51:27 +01:00
Tom G. Christensen
c7ccc73f1e
Fix name overload in get_files
...
The variable source was being overloaded by a local variable of the same name
causing the loop to malfunction and not retrieve all sources.
2009-12-19 16:31:19 +01:00
Tom G. Christensen
1a1be6bc92
Remove more uses of shell filename expansion.
2009-12-19 14:38:47 +01:00
Tom G. Christensen
3854b49dfd
Use ls instead of echo to avoid returning * on empty dirs
2009-12-19 14:38:47 +01:00
Tom G. Christensen
f84b1dd660
Overhaul handling of source and patch entries during setup
...
* buildpkg.functions(get_source_filename, get_source_path,
get_source_absfilename, fetch_source): Take a filename as input instead
of an array index so they can be used for both source and patch entries
* buildpkg.functions(unpack, patch): Updated to use new interface to above
functions
* buildpkg.packaging.irix(auto_rel, auto_src): Ditto. Also make sure to
maintain timestamps when copying patches into the package
* buildpkg.functions(get_files): New function to handle all downloading of
sources and patches before unpacking
2009-12-19 14:38:47 +01:00
Tom G. Christensen
20a817e189
Update copyright years
2009-12-19 14:38:47 +01:00
Tom G. Christensen
7664df5bbe
Make it possible to add global configure overrides
2009-12-19 14:38:47 +01:00
Tom G. Christensen
bcc9cf61ac
Because of the nesting of the function calls a call to error inside the
...
stack will not give me the exit I want. This should catch any errors and
cause an exit in the appropriate place.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
ebd95822dc
Missing 's'.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
6dfdcc73c4
Allow URLs in source entries.
...
Provide helpers to abstract extraction of source paths and filenames.
Cleanup all direct uses of source[] to use the helpers.
Add new fetch_source function to handle URLs. Depends on new __curl define.
Small unrelated change in buildpkg.packaging.irix, we must use gsed to get
\n expanded in the strings.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
b27fef0e1b
The buildpkg framework is now under the GPLv3.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
32e18a9df3
Cleanup tools usage and only use __ prefixed tool namespace.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
5c4973f9c8
Add head to the list of tools.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
c786941496
Import the ac_overrides codes from Irix into the generic build function.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
bb2413eda9
Add generic_check function and add new default check target to build.sh.
...
The check target is excluded from the all target since it can often take a
very long time to run.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
c06bf89a46
auto_deps needs ldd
2009-12-19 14:38:43 +01:00
Tom G. Christensen
ac054594dc
Enforce length limits on PKG and NAME fields in pkginfo
2009-12-19 14:38:43 +01:00
Tom G. Christensen
951d5ac6de
Make it possible to override configure by defining __configure
2009-12-19 14:38:43 +01:00
Tom G. Christensen
48a08220e2
Add new __ prefixed tool namespace
2009-12-19 14:38:43 +01:00
Tom G. Christensen
f5e5e26d49
Add support for pack(1)ed manpages on Irix 5.3
2009-12-19 14:38:43 +01:00
Tom G. Christensen
83fa1c28f0
Make the default patch prefix configurable.
2009-12-19 14:38:42 +01:00
Tom G. Christensen
b28cc5d0eb
Correct the extraction of the .so link target when symlinking manpages
2009-12-19 14:38:42 +01:00
Tom G. Christensen
584d7de232
Add function to convert .so style manpage linking to symlinks
2009-12-19 14:38:42 +01:00
Tom G. Christensen
70f85ffe32
New functions to aid in the building of perl module packages
2009-12-19 14:38:42 +01:00
Tom G. Christensen
c58a2bad9c
Add EGREP
...
Allow overriding the makefile build target to use
Allow skipping the configure step in generic_build
2009-12-19 14:38:42 +01:00
Tom G. Christensen
311bbb03f0
Implement support for platform specific configure function run_configure.
...
Add error message for suspicious config.log entries
A few variables in compute_octal was defined as globals
2009-12-19 14:38:42 +01:00
Tom G. Christensen
f29c27d4d9
Switch to /usr/tgcware
2009-12-19 14:38:42 +01:00
Tom G. Christensen
96b3f64f74
Add support for unpacking zip archives
2009-12-19 14:38:42 +01:00
Tom G. Christensen
274321e7fe
Make generic_build and generic_install able to descend into a subdir
...
inside the sourcedir before doing their thing.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
1719dd0aae
Add explicit command var for GNU sed
...
Add _vdocdir helper var which points to the fully expanded location of
documentation
Fix ugly file not found output from ls
2009-12-19 14:38:41 +01:00
Tom G. Christensen
bb3184f703
Add SHA1SUM command
...
Change charset for manpages to ascii
2009-12-19 14:38:41 +01:00
Tom G. Christensen
1a45efd94a
Add "autonuke" function to automatically cleanout unwanted files from the
...
stagedir after install
2009-12-19 14:38:41 +01:00
Tom G. Christensen
5e5291c3fc
Allow manpages to be compressed with compress(1) instead of gzip.
...
This is useful for plain old Irix 5.3 which doesn't understand gzipped
manpages.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
6776f58c74
Move shortroot handling to the install stage. Automatically adding
...
$prefix inside the stagedir when necessary.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
f44a2f526a
Fix a stupid typo and convert mkdir to ${MKDIR}
2009-12-19 14:38:41 +01:00
Tom G. Christensen
abe8d6774e
_docdir is an external variable used in build.sh and pkgdef so changing
...
it halfway through is very bad. Fixed.
This frequently caused ./build.sh install pack to break because _docdir
is redefined between the 2 steps.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
88847c7058
Add RMDIR
...
Add new error message that will be trigged by an overflow of the version
number in fix_ver (buildpkg.packaging.irix)
Add a small Irix specific hack to clean (see the commit comment for
buildpkg.packaging.irix, r1.32 for the full explanation)
2009-12-19 14:38:41 +01:00
Tom G. Christensen
c050cce4ec
compress infopages
...
Fix manpage formatting to use a simpler commandline
2009-12-19 14:38:41 +01:00
Tom G. Christensen
36e25bc278
Do the right thing if someone deleted pkginfo.$secname instead
...
of rm -rf'ing the package dir.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
d4accdc00b
Move package revision into the version field using the standard ,REV=
...
notation.
Seperate formatting of manpages and compression of manpages.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
de2bd7d63b
- Support 'dir' command in pkgdef
...
- New metainstalldir for when topdir needs to be / (like prngd, openssh)
- Allow make install to be skipped in generic_install
2009-12-19 14:38:40 +01:00
Tom G. Christensen
59657a656e
We don't need CMP anymore.
...
Native Irix ln doesn't know about -n
2009-12-19 14:38:40 +01:00
Tom G. Christensen
87ae9aa1ff
We don't need DIFF anymore.
...
Added new LN and PRINTF commands.
Replaced ln with $LN
Avoid namespace pollution in fix_man() by declaring all internal variables
local.
2009-12-19 14:38:40 +01:00
Tom G. Christensen
ec325c188b
Redefine the meaning of the topdir variable.
...
From now on pkgdir will be used to designate the toplevel dir of the pkg
under $BUILDPKG_BASE
Irix specific changes:
Source formatting fixes
Finally get rid of the FIXME on imageconf
Automatically handle opt.src and opt.relnotes subsystems
2009-12-19 14:38:40 +01:00
Tom G. Christensen
2ff1b5e084
Split strip function into system specific subfunctions.
...
After the rewrite of add_files in the Irix function library permissions
where not assigned correctly. This has been fixed.
2009-12-19 14:38:40 +01:00