Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version), SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR (XBPS_TEMPLATESDIR/pkgname/files). This simplifies packages that used them. --HG-- extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
This commit is contained in:
parent
529cb677ff
commit
84222395b8
90 changed files with 535 additions and 735 deletions
|
@ -31,7 +31,6 @@ configure_src_phase()
|
|||
{
|
||||
local pkg="$1"
|
||||
local f=
|
||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||
|
||||
[ -z $pkg ] && [ -z $pkgname ] && return 1
|
||||
|
||||
|
@ -87,8 +86,8 @@ configure_src_phase()
|
|||
if [ "$build_style" = "gnu_configure" ]; then
|
||||
${configure_script} \
|
||||
--prefix=${_prefix} --sysconfdir=/etc \
|
||||
--infodir=$destdir/usr/share/info \
|
||||
--mandir=$destdir/usr/share/man \
|
||||
--infodir=${DESTDIR}/usr/share/info \
|
||||
--mandir=${DESTDIR}/usr/share/man \
|
||||
${configure_args}
|
||||
#
|
||||
# Packages using propietary configure scripts.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue