Commit Graph

11 Commits

Author SHA1 Message Date
Juan RP df628fc68e Set LDFLAGS with correct compile and run time paths before building.
Use local variables where possible.

--HG--
extra : convert_revision : 39a0153d9f11cd1889c1dfbba015a71e344352d0
2008-09-28 10:36:43 +02:00
Juan RP 8a62250ba8 Don't stow twice the origin package after xstow has been installed and stowned.
Also use a template for xstow to avoid hardcoding the vars into the script,
as bonus don't allow to unstow 'xstow' once is stowned... heh.

--HG--
extra : convert_revision : 94b5676b13ed79d54f1968120ddb50a20429bca9
2008-09-28 09:57:30 +02:00
Juan RP 8314e3b0b1 Major patch for pkgfs.sh. Adds new functionality as well as bugfixes.
* The stow/unstow targets are now working properly, when a package is built
  and installed, it will be stowned if the steps were succesful.
* The unstow target allows to remove the symlinks from the master directory.
* When a new package is installed and the xstow binary specified in the config
  file is not found, the xstow package will be installed and self stowned.

glib can be installed and stowned properly into the master dir, after fixing
libtool.

--HG--
extra : convert_revision : 7f4012adfb2cdcc926c3e126b1d82d0bb7f9a46a
2008-09-28 07:12:07 +02:00
Juan RP 6ff0c41308 Simplify check_build_dirs and rename it to check_build_vars.
--HG--
extra : convert_revision : aa5bb29fb0c8aeb27495e07224be484dbddce971
2008-09-27 18:20:46 +02:00
Juan RP 3ec5d465e4 Some changes I have done for the past hour.
Added some flags:
	-C	To clean the builddir after package is built.
	-b	Only build the package.

Cleaned up variable naming conventions and multiple bugfixes,
among others now the required vars in tmpl files are properly
checked.

--HG--
extra : convert_revision : f0cb010b7308756cd562871b26f2b399d8d85a29
2008-09-27 03:17:12 +02:00
Juan RP a8bb291a08 Bah, use the correct variable for PATH and fix previous.
--HG--
extra : convert_revision : 7d6324e3bff7dbd8fd898ae6b145e343afca9f84
2008-09-27 00:20:54 +02:00
Juan RP e8944276b1 Use a minimal PATH when building packages, and restore it afterwards.
Add a pkg-config-0.23 template.

--HG--
extra : convert_revision : c2788d660db625a50bb0b177633600aa4d076dda
2008-09-27 00:19:02 +02:00
Juan RP e36d3e4e5e Don't hardcode commands and don't require the global configuration
file to use the info target.

--HG--
extra : convert_revision : 26794799a354baebac87c41c54662ae28a7becda
2008-09-26 23:39:29 +02:00
Juan RP 084d6664b2 Remove the list target... it's not very useful.
Also use my copyright for this file.

--HG--
extra : convert_revision : 75a3b2fc4aa7785437e4f3de53b23dd64683d990
2008-09-26 23:23:41 +02:00
Juan RP d2d10e9ecd Some fixes missed in the import.
Fix _MKDIR_CMD... wrong var.
Check var's value before exporting it.

--HG--
extra : convert_revision : cec5c47afaa94daa7f2f3d2b9ebe4d37b1bd46a8
2008-09-26 22:30:14 +02:00
Juan RP 535b7b6a31 Initial import of pkgfs, aka package from sources.
It's a simple wrapper to shell scripts to allow building source
distribution files through an easy cli. For now it's only able
to fetch/build/install a package into a destination directory.

Goal is to be able to have same functionality like GNU's stow.

I added three template files to allow building: glib2, gmake
and libtool.

--HG--
extra : convert_revision : 5e52738f97edc0ff4a9e5de48a75834bf0916651
2008-09-26 21:59:07 +02:00