Commit Graph

10 Commits

Author SHA1 Message Date
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00
Juan RP 39c05644b3 gcc: mpfr is a runtime dependency.
--HG--
extra : convert_revision : 05d61207f70da060effc72d680a4d374217315ca
2008-12-27 04:30:28 +01:00
Juan RP b4d5150542 gcc: pass --enable-shared, otherwise shared libs won't be built!
--HG--
extra : convert_revision : e95fdba46e497f27d316bbbdc92a41af27c15daa
2008-11-05 01:43:55 +01:00
Juan RP ac80ddda40 Use bash features to improve $distfiles parsing.
That means that it's not necessary anymore to use an '@' before the
extract suffix string. yay.

--HG--
extra : convert_revision : 83ce2c783cb917ef59b87eacb0565cfcff277218
2008-10-28 23:57:52 +01:00
Juan RP 5a249b6c4f Require to configure/build/install in the chroot all packages.
This is to ensure that only stuff found in the chroot will be used,
and to avoid some stupid problems with libtool scripts. Therefore only
templates that have $base_chroot set can be built without the chroot.

As bonus now all messages are prepended with "[chroot]" when xbps.sh
is running inside of it.

--HG--
extra : convert_revision : 68195f4b240c01eea18777767b555604d892400f
2008-10-27 07:42:40 +01:00
Juan RP e9231b5999 More changes to {pre,post}_<stage> stuff.
Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.

Also remove some NetBSD specific stuff that is not useful anymore.

--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
2008-10-27 06:12:30 +01:00
Juan RP c07feca694 gcc: ignore_files is no more.
--HG--
extra : convert_revision : c58063c50f3999eafbd41ead5a70ec6875d0d4ef
2008-10-24 01:03:04 +02:00
Juan RP 3b5c4b506d gcc: install libs into /lib and not /lib64 on x86_64.
This is to mimic what debian and derivatives do.

--HG--
extra : convert_revision : 02e15adf1f06ba45f14f06aad9c28ac4553c8621
2008-10-22 04:07:58 +02:00
Juan RP 28a5a070c1 Change autoconf pkgs to configure it with /usr or /.
This depends if a package uses $base_package, by default not set,
means the package will be installed into masterdir/usr, if set
will be installed into masterdir directly.

While here fixup binutils, gcc and glibc! I'm approaching to the point
on where I'll be able to chroot into masterdir and having working pkgs
installed.

--HG--
extra : convert_revision : be3c3e0d7368e7a1e1ef1c9add932aeeab82688d
2008-10-22 01:54:48 +02:00
Juan RP e5afbd9313 Added gcc-4.3.2 template.
--HG--
extra : convert_revision : f0578d57b53b1cfda7a7222c3afed91df1133014
2008-10-21 04:38:29 +02:00