Reorganize stuff in repo to make xbps-src an independent package.
This commit is contained in:
parent
eac23f408f
commit
ccc3eaa70f
9 changed files with 12 additions and 32 deletions
|
@ -1,8 +1,7 @@
|
|||
#
|
||||
# HTTP/FTP vars that can be used by templates.
|
||||
#
|
||||
|
||||
# SITE used for ditfiles mirrors
|
||||
# Common variables that can be used by xbps-src.
|
||||
#
|
||||
# SITE used for ditfiles mirrors. For use in $distfiles.
|
||||
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
|
||||
NONGNU_SITE="http://download.savannah.nongnu.org/releases"
|
||||
UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
|
||||
|
@ -16,7 +15,6 @@ MOZILLA_SITE="http://ftp.mozilla.org/pub/mozilla.org"
|
|||
GNU_SITE="http://mirrors.kernel.org/gnu"
|
||||
FREEDESKTOP_SITE="http://freedesktop.org/software"
|
||||
|
||||
|
||||
# repetative sub homepage's with no real project page
|
||||
# ie. some gnome and xorg projects
|
||||
# Repetitive sub homepage's with no real project page
|
||||
# ie. some gnome and xorg projects. For use in $homepage.
|
||||
XORG_HOME="http://xorg.freedesktop.org/wiki/"
|
|
@ -1,7 +1,7 @@
|
|||
include vars.mk
|
||||
|
||||
BINS = xbps-src
|
||||
SUBDIRS = etc common libexec helpers shutils
|
||||
SUBDIRS = etc libexec helpers shutils
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
include ../vars.mk
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
install -d $(DESTDIR)$(SHAREDIR)/common
|
||||
install -m 644 *.sh *.txt $(DESTDIR)$(SHAREDIR)/common
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
-rm -rf $(DESTDIR)$(SHAREDIR)/common
|
|
@ -24,7 +24,6 @@ install:
|
|||
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
|
||||
install -d $(DESTDIR)$(ETCDIR); \
|
||||
fi
|
||||
|
||||
if [ ! -f $(DESTDIR)$(ETCDIR)/$(CONF_FILE) ]; then \
|
||||
install -m644 $(CONF_FILE) $(DESTDIR)$(ETCDIR); \
|
||||
fi
|
||||
|
|
|
@ -29,10 +29,10 @@ set_defvars()
|
|||
|
||||
XBPS_HELPERSDIR=${XBPS_SHAREDIR}/helpers
|
||||
XBPS_SHUTILSDIR=${XBPS_SHAREDIR}/shutils
|
||||
XBPS_COMMONVARSDIR=${XBPS_SHAREDIR}/common
|
||||
XBPS_META_PATH=$XBPS_MASTERDIR/var/db/xbps
|
||||
XBPS_PKGMETADIR=$XBPS_META_PATH/metadata
|
||||
XBPS_SRCPKGDIR=$XBPS_DISTRIBUTIONDIR/srcpkgs
|
||||
XBPS_COMMONDIR=${XBPS_DISTRIBUTIONDIR}/common
|
||||
|
||||
if [ -n "$IN_CHROOT" ]; then
|
||||
XBPS_DESTDIR=/destdir
|
||||
|
@ -50,8 +50,7 @@ set_defvars()
|
|||
fi
|
||||
XBPS_TRIGGERSDIR=$XBPS_SRCPKGDIR/xbps-triggers/files
|
||||
|
||||
DDIRS="TRIGGERSDIR HELPERSDIR SRCPKGDIR COMMONVARSDIR SHUTILSDIR"
|
||||
DDIRS="$DDIRS DISTRIBUTIONDIR"
|
||||
DDIRS="DISTRIBUTIONDIR TRIGGERSDIR HELPERSDIR SRCPKGDIR SHUTILSDIR COMMONDIR"
|
||||
for i in ${DDIRS}; do
|
||||
eval val="\$XBPS_$i"
|
||||
if [ ! -d "$val" ]; then
|
||||
|
|
|
@ -63,7 +63,7 @@ _show_shlib_pkg_deps()
|
|||
|
||||
show_pkg_revdeps()
|
||||
{
|
||||
local SHLIBS_MAP="$XBPS_COMMONVARSDIR/mapping_shlib_binpkg.txt"
|
||||
local SHLIBS_MAP=$XBPS_COMMONDIR/shlibs
|
||||
local _pkgn shlibs
|
||||
|
||||
[ -z "$1" ] && return 1
|
||||
|
|
|
@ -30,7 +30,7 @@ info_tmpl()
|
|||
{
|
||||
local i=
|
||||
|
||||
for f in $XBPS_COMMONVARSDIR/*.sh; do
|
||||
for f in $XBPS_COMMONDIR/*.sh; do
|
||||
[ -r ${f} ] && . ${f}
|
||||
done
|
||||
|
||||
|
@ -132,7 +132,7 @@ setup_tmpl()
|
|||
[ -n "$DESTDIR" ] && return 0
|
||||
fi
|
||||
|
||||
for f in $XBPS_COMMONVARSDIR/*.sh; do
|
||||
for f in $XBPS_COMMONDIR/*.sh; do
|
||||
[ -r ${f} ] && . ${f}
|
||||
done
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ verify_rundeps()
|
|||
local j f nlib verify_deps maplib found_dup igndir soname_arch
|
||||
local broken rdep found rsonamef soname_list revbumped tmplf newrev
|
||||
|
||||
maplib="$XBPS_COMMONVARSDIR/mapping_shlib_binpkg.txt"
|
||||
maplib=$XBPS_COMMONDIR/shlibs
|
||||
|
||||
[ -n "$noarch" -o -n "$noverifyrdeps" ] && return 0
|
||||
msg_normal "$pkgver: verifying required shlibs...\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue