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:
Tom G. Christensen 2013-09-20 16:52:49 +02:00
parent 6d8afb783d
commit 6750c1f90d

View File

@ -67,7 +67,8 @@ topsrcdir=$topdir-$version # it may be necessary to override this
srcfiles=$buildpkgbase/srcfiles
topinstalldir=/usr/tgcware
pkgdirdesig=tgcware # topinstalldir suffix
topinstalldir=/usr/$pkgdirdesig
prefix=$topinstalldir
metainstalldir=$topinstalldir
@ -100,8 +101,6 @@ pkgprefix=SB
pkgname=$pkgprefix$topdir # overriding this will be common
name=$topdir # as will this ditto
pkgdirdesig=${topinstalldir##/*/} # topinstalldir suffix
# Functionality controls
symlinkman=0 # Don't replace .so linking with symlinks pr. default
symlinkman_verbose=0 # Be quiet