Commit graph

7 commits

Author SHA1 Message Date
Juan RP
ce2680b740 Add PKGFS_SYSCONFDIR option to the configuration file.
This is the directory where the configuration files in a package
will be installed. pkgfs won't have control over it, so if a package
overwrites them, be sure to make a backup!

--HG--
extra : convert_revision : a96e3871f7683f96b8711aa060dddadcb4970cb2
2008-10-03 15:41:26 +02:00
Juan RP
01799e1e18 Multiple changes to gnu_configure style packages, as well as other
changes to allow better linking flags in future packages through
pkg-config.

Removed the PKGFS_TEMPLATESDIR, PKGFS_DEPSDIR and others that weren't
too useful. Instead use a single PKGFS_DISTRIBUTIONDIR on which all
those directories/files can be found.

Added a template helper for pkg-config, that changes a pkg-config file
after it's installed to produce correct linker paths.

More helpers could be added in the future.

--HG--
extra : convert_revision : a42fd2e72915a4219714de92579011bca2b0f4a6
2008-09-30 22:48:52 +02:00
Juan RP
cf8ed535b6 Basic dependency support for pkgfs.
The code looks at db(1) btree files stored in PKGFS_DEPSDIR to know
what dependencies are required for X package, and walks the dependency
chain every time that X package contains a deps .db file.

Every time a package is stowned, the pkg is registered into
PKGFS_DESTDIR/.pkgfs-registered-pkgs.db, and removed when it's unstowned.

--HG--
extra : convert_revision : b5222a890dd41b96dc72ee3e90bb72a282fe0841
2008-09-29 17:01:12 +02:00
Juan RP
c77eee1ea6 Add PKGFS_TEMPLATESDIR and PKGFS_XSTOW_CMD.
PKGFS_TEMPLATESDIR specifies where the templates and patches are stored.
PKGFS_XSTOW_CMD specifies the path to the xstow binary, used by pkgfs.

--HG--
extra : convert_revision : e095bef85ffe102484737fa79f704db7c30c891d
2008-09-28 07:10:47 +02:00
Juan RP
ccb854252d Introduce PKGFS_MASTERDIR.
It is used as master directory on where all symlinks will be created
pointing at packages installed on PKGFS_DESTDIR. Not used yet, but
will be soon.

--HG--
extra : convert_revision : c45fa6512917016c04f83ca44e0c2b74b0b48915
2008-09-27 03:47:22 +02:00
Juan RP
df02cbad60 Fix PKGFS_CXXFLAGS in configuration file.
--HG--
extra : convert_revision : b43b68397c17b1c97e0ce24aaa9d4d41122cd14f
2008-09-26 22:29:43 +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