Initial import of xbps with code as August '09.

--HG--
extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
This commit is contained in:
juan
2009-08-17 19:07:20 +02:00
commit 3f3b6d00dd
52 changed files with 8657 additions and 0 deletions

18
etc/Makefile Normal file
View File

@@ -0,0 +1,18 @@
include ../vars.mk
CONF_FILE = xbps.conf
.PHONY: all
all:
.PHONY: clean
clean:
install:
if [ ! -d $(ETCDIR) ]; then \
install -d $(ETCDIR); \
fi
if [ ! -f $(ETCDIR)/$(CONF_FILE) ]; then \
install -m 644 $(CONF_FILE) $(ETCDIR); \
fi

54
etc/xbps.conf Normal file
View File

@@ -0,0 +1,54 @@
#
# Configuration file for xbps-src.
#
#
# Global directory where the xbps distribution files are stored.
# Templates, patches and helper files should all be in that directory.
#
XBPS_DISTRIBUTIONDIR=$HOME/xbps
#
# Master directory: this is where all symlinks will be
# created pointing at packages installed in XBPS_DESTDIR.
#
XBPS_MASTERDIR=$XBPS_DISTRIBUTIONDIR/depot
#
# Destination directory: this is where all package files will be
# installed.
#
XBPS_DESTDIR=$XBPS_DISTRIBUTIONDIR/destdir
#
# Binary packages directory: this is where the binary packages will
# be created to.
#
XBPS_PACKAGESDIR=$XBPS_DISTRIBUTIONDIR/packages
#
# Directory where source files will be extracted to.
#
XBPS_BUILDDIR=$XBPS_DISTRIBUTIONDIR/builddir
#
# Directory where source distribution files are stored.
#
XBPS_SRCDISTDIR=$XBPS_DISTRIBUTIONDIR/srcdistdir
#
# Compilation flags for cc and c++.
#
XBPS_CFLAGS="-O2 -pipe"
XBPS_CXXFLAGS="$XBPS_CFLAGS"
#
# Number of jobs when running GNU or BSD make style packages.
#
#XBPS_MAKEJOBS=4
#
# Cross compilation stuff.
#
#XBPS_CROSS_TARGET=i686-pc-linux-gnu
#XBPS_CROSS_DIR=/storage/mktoolchain/$XBPS_CROSS_TARGET