Commit Graph

11 Commits

Author SHA1 Message Date
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00
Juan RP 1ebe5e6b5e Mega-commit removing deps in xbps-base-chroot.
xbps-src:
  * ALWAYS use the static bins, to avoid breakage in the chroot.
  * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's
    useful to download all distfiles in xbps-base-system.
  * Use busybox in the chroot and create links in /usr/local/bin
    at creation time. This helps to remove many packages that
    had problems with host/target libs (acl, attr, libarchive, etc).

build templates:
  * Add explicit gettext and texinfo build dependencies in all
    packages that need them, because they aren't built anymore
    by xbps-base-chroot.
  * Fixed some packages using build_style=gnu_makefile, that were
    broken because pre/post_configure() is not executed for a while,
    they should use pre/post_build() instead.

--HG--
extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
2009-10-30 22:14:09 +01:00
Juan RP 2a8278bd06 Use XBPS_FETCH_CMD in packages that need to fetch something.
--HG--
extra : convert_revision : 9f7742da201cd3a2fee82c2bf6085d8cef7b00f2
2009-10-17 03:16:09 +02:00
Juan RP 951ec736a5 readline: update to 6.0.004.
--HG--
extra : convert_revision : f3d4e34f3fce73e61a4febba06485496c8df133f
2009-10-09 10:17:52 +02:00
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00
Juan RP 290f97334b readline: switch to another URL that really works.
--HG--
extra : convert_revision : bb9b337716bab7f74e9d06f9820d8c0afd963182
2009-05-06 15:54:02 +02:00
Juan RP 05a64d017d readline: converted to subpkgs.
--HG--
extra : convert_revision : 6069ee1528785580e100edfc2aa8007378b7ccf3
2009-03-12 15:54:53 +01:00
Juan RP 3e7068b45d readline: update to 6.0.
--HG--
extra : convert_revision : 526bc47b36389f92185fe63d6fab910843354d51
2009-03-12 05:27:23 +01:00
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00
Juan RP 5b841b8a7d readline: add official patches for 5.2.
--HG--
extra : convert_revision : e346d1b9d83bce77e97101dba76479e655ef80dc
2009-02-13 00:17:47 +01:00
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
Renamed from templates/readline.tmpl (Browse further)