buildpkg.functions: change how pkgdirdesig and topinstalldir is defined
Instead of defining pkgdirdesig using topinstalldir do it the other way around.
This commit is contained in:
parent
6d8afb783d
commit
6750c1f90d
@ -67,7 +67,8 @@ topsrcdir=$topdir-$version # it may be necessary to override this
|
|||||||
|
|
||||||
srcfiles=$buildpkgbase/srcfiles
|
srcfiles=$buildpkgbase/srcfiles
|
||||||
|
|
||||||
topinstalldir=/usr/tgcware
|
pkgdirdesig=tgcware # topinstalldir suffix
|
||||||
|
topinstalldir=/usr/$pkgdirdesig
|
||||||
prefix=$topinstalldir
|
prefix=$topinstalldir
|
||||||
metainstalldir=$topinstalldir
|
metainstalldir=$topinstalldir
|
||||||
|
|
||||||
@ -100,8 +101,6 @@ pkgprefix=SB
|
|||||||
pkgname=$pkgprefix$topdir # overriding this will be common
|
pkgname=$pkgprefix$topdir # overriding this will be common
|
||||||
name=$topdir # as will this ditto
|
name=$topdir # as will this ditto
|
||||||
|
|
||||||
pkgdirdesig=${topinstalldir##/*/} # topinstalldir suffix
|
|
||||||
|
|
||||||
# Functionality controls
|
# Functionality controls
|
||||||
symlinkman=0 # Don't replace .so linking with symlinks pr. default
|
symlinkman=0 # Don't replace .so linking with symlinks pr. default
|
||||||
symlinkman_verbose=0 # Be quiet
|
symlinkman_verbose=0 # Be quiet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user