Commit Graph

14 Commits

Author SHA1 Message Date
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
68056f60f8 Check if dependency is installed to be sure before proceeding.
--HG--
extra : convert_revision : e5ed948a484a1ed0c3e8a28759e60e59f4b60dbd
2009-03-10 14:45:05 +01:00
Juan RP
58a9a990e9 Fix printing of correct dependency name of dependencies.
--HG--
extra : convert_revision : d4a99cfc35c4409f7c848a89506236fdb88a9946
2009-03-10 14:01:02 +01:00
Juan RP
08630476d6 builddep_funcs.sh: always look if there are more deps.
--HG--
extra : convert_revision : 16b1ab98622f45bab123a388640dad14fc410f6c
2009-02-18 20:10:11 +01:00
Juan RP
12d65cc30c Move run_template() to tmpl_funcs.sh.
--HG--
extra : convert_revision : b5dcd681b3faacde90a783a0c13493600f36a5a8
2009-02-18 01:32:42 +01:00
Juan RP
028cacdd2a Add support to set automatic install flag for srcpkgs.
--HG--
extra : convert_revision : fa0e103ce44a4758858124ecd63aea0dec400720
2009-02-18 00:28:35 +01:00
Juan RP
cc162c2691 Improve printfs in previous.
--HG--
extra : convert_revision : 7d1c36a09fffddfea73cc18f0d45198f2424276e
2009-02-17 17:40:44 +01:00
Juan RP
3b3d788c7c Improve the build deps strategy, this is now pkgsrc-alike.
The list of build dependencies is shown, and if any of them
has deps, the list is shown for it and so on. This has the effect
of installing the deps in the order that they were specified
in the template, at the expense of a minor performance ratio.

--HG--
extra : convert_revision : 231ed52da19201bdeab65d0f9db78ab83b51e010
2009-02-17 17:15:12 +01:00
Juan RP
0bb1780f8e shutils: use xbps-pkgdb getpkg{name,version}, remove item from TODO.
--HG--
extra : convert_revision : 69927380509b3bc6b3f80ee3cbc44953bdd2b729
2009-02-17 13:58:34 +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
Juan RP
73e510f2aa builddep_funcs: fix a wrong conditional.
--HG--
extra : convert_revision : c4f0b0a47239e7449730473456636a8dfe32c3c3
2009-01-14 16:51:17 +01:00
Juan RP
13a05a18b9 builddep_funcs.sh: minor cosmetic change.
--HG--
extra : convert_revision : 19dd349edd4906ca781a21a0e9ea2e88c86ff196
2008-12-26 11:30:47 +01:00
Juan RP
6ee35486bf To use xbps now 'make and make install' is required.
--HG--
extra : convert_revision : 976738f26daf1ccd2101ca2325e1e517d98e71cb
2008-12-22 02:14:40 +01:00
Juan RP
e7cf222ac9 Reorganize the tree splitting stuff on its own dir.
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00