01799e1e18
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
42 lines
932 B
Text
42 lines
932 B
Text
#
|
|
# Configuration file for pkgfs.
|
|
#
|
|
|
|
# Global directory where the pkgfs distribution files are stored.
|
|
# Templates, patches, helpers and dependency files should all be
|
|
# in that directory.
|
|
#
|
|
PKGFS_DISTRIBUTIONDIR=$HOME/pkgfs
|
|
|
|
#
|
|
# Global master directory: this is where all symlinks will be
|
|
# created pointing at packages installed in PKGFS_DESTDIR.
|
|
#
|
|
PKGFS_MASTERDIR=$PKGFS_DISTRIBUTIONDIR/depot
|
|
|
|
#
|
|
# Global destination directory: this is where all packages will be
|
|
# installed.
|
|
#
|
|
PKGFS_DESTDIR=$PKGFS_DISTRIBUTIONDIR/packages
|
|
|
|
#
|
|
# Global directory where source files will be extracted to.
|
|
#
|
|
PKGFS_BUILDDIR=$PKGFS_DISTRIBUTIONDIR/builddir
|
|
|
|
#
|
|
# Global directory where source distribution files are stored.
|
|
#
|
|
PKGFS_SRCDISTDIR=$PKGFS_DISTRIBUTIONDIR/srcdistdir
|
|
|
|
#
|
|
# Path to the xstow program.
|
|
#
|
|
PKGFS_XSTOW_CMD=$PKGFS_MASTERDIR/bin/xstow
|
|
|
|
#
|
|
# Compilation flags for cc and c++.
|
|
#
|
|
PKGFS_CFLAGS="-O2 -pipe"
|
|
PKGFS_CXXFLAGS="$PKGFS_CFLAGS"
|