Commit graph

8 commits

Author SHA1 Message Date
Juan RP 1b7cd6814b Bah, fix mktmpl.sh by adding a missing continuation line char.
--HG--
extra : convert_revision : d2dd99aacf50c6a5d66ceee82b380ed5911a4af3
2008-10-04 16:52:04 +02:00
Juan RP 39c3c5da7b Sync mktmpl.sh with current code.
--HG--
extra : convert_revision : 68e2d79c424b30aed9d33aca792bf625049823c9
2008-10-04 16:33:03 +02:00
Juan RP c3bd14e65c Change permissions to 755 for new templates.
--HG--
extra : convert_revision : d68b03eba9f403d90cd66fe32023f940beb34077
2008-10-02 04:53:22 +02:00
Juan RP d6f542964d mktmpl.sh: do not force user to specify path to pkgfs.conf every time,
rather look at default location (/usr/local/etc/pkgfs.conf), current
directory, or error out.

--HG--
extra : convert_revision : a9d76d181c1d384c98e635bcb1375d20098c030e
2008-10-02 02:25:16 +02:00
Juan RP 0fdfc94802 Added support for build_style=perl_module. That means that perl modules
now work on pkgfs.

While doing this work I added some new variables that can be used in
templates:

run_stuff_before="<stage>"
run_stuff_after="<stage>"
run_stuff_before_<stage>_file
run_stuff_after_<stage>_file

These can be used in a template when you need to do some stuff before
or after the stage specified, and the file will be read and the commands
on it executed.

Now that finally perl modules work, add the following templates:

intltool-0.40.4 and perl-XML-Parser-2.36.

Also mktmpl.sh has been updated to understand build_style=perl_module.

ENJOY!

--HG--
extra : convert_revision : 53c5148f1ba703e2b5af6e43f71668aac54a37d2
2008-10-02 01:38:12 +02:00
Juan RP d53b7c6dd3 mktmpl.sh: add pkg-config dependency if the user sets .pc files.
Minor nits too.

--HG--
extra : convert_revision : 6ff4dcca5bb5ffebc503d7c039e70e84f1ed3abc
2008-10-01 05:11:26 +02:00
Juan RP 1c7b760421 mktmpl.sh: now it asks you if pkg requires GNU make or libtool, and
adds the dependency automagically.

--HG--
extra : convert_revision : 790cfa2829b0f6db97f91fc1a070a92ec1e5e812
2008-10-01 04:36:43 +02:00
Juan RP 990247efe8 Add mktmpl.sh, a shell script to create new templates.
It will make you some questions and it will download the tarball,
compute the checksum to finally create a minimal template that should
work for many cases using GNU configure scripts.

--HG--
extra : convert_revision : f6c1d7793c32ebd3d29eb679ad1ea0d38aa84210
2008-10-01 03:56:21 +02:00