Added a var to control symbol stripping during the installstage
Changed default dir for new packages to distfiles/beta
This commit is contained in:
parent
5acdf80b84
commit
1d65a34609
@ -57,7 +57,6 @@ NEQNOPTS="-Tlatin1"
|
|||||||
TBL=/usr/local/bin/tbl
|
TBL=/usr/local/bin/tbl
|
||||||
NROFF=/usr/local/bin/nroff
|
NROFF=/usr/local/bin/nroff
|
||||||
NROFFOPTS="-c -man"
|
NROFFOPTS="-c -man"
|
||||||
catman=0 # Don't fix manpages pr. default
|
|
||||||
|
|
||||||
# Define defaults
|
# Define defaults
|
||||||
buildpkgbase=$BUILDPKG_BASE
|
buildpkgbase=$BUILDPKG_BASE
|
||||||
@ -65,7 +64,7 @@ stagedir=$buildpkgbase/$topdir/stage
|
|||||||
srcdir=$buildpkgbase/$topdir/src
|
srcdir=$buildpkgbase/$topdir/src
|
||||||
patchdir=$srcdir # Allow the possibility of easily putting a load of patches in a different location
|
patchdir=$srcdir # Allow the possibility of easily putting a load of patches in a different location
|
||||||
metadir=$buildpkgbase/$topdir/meta
|
metadir=$buildpkgbase/$topdir/meta
|
||||||
distdir=$buildpkgbase/distfiles
|
distdir=$buildpkgbase/distfiles/beta
|
||||||
topsrcdir=$topdir-$version # it may be necessary to override this
|
topsrcdir=$topdir-$version # it may be necessary to override this
|
||||||
|
|
||||||
srcfiles=$buildpkgbase/srcfiles
|
srcfiles=$buildpkgbase/srcfiles
|
||||||
@ -82,6 +81,10 @@ name=$topdir # as will this ditto
|
|||||||
|
|
||||||
pkgdirdesig=${topinstalldir##/*/} # topinstalldir suffix
|
pkgdirdesig=${topinstalldir##/*/} # topinstalldir suffix
|
||||||
|
|
||||||
|
# Functionality controls
|
||||||
|
catman=0 # Don't fix manpages pr. default
|
||||||
|
dostrip=1 # default to stripping binaries during the install stage
|
||||||
|
|
||||||
# Distfiles should be named like this
|
# Distfiles should be named like this
|
||||||
# <name>-<version>-<pkgver>.sb-<os>-<cpu>-<pkgdirdesig>
|
# <name>-<version>-<pkgver>.sb-<os>-<cpu>-<pkgdirdesig>
|
||||||
# ie: libmad-0.14.2b-1.sb-sol5.8-sparcv9-local
|
# ie: libmad-0.14.2b-1.sb-sol5.8-sparcv9-local
|
||||||
@ -354,7 +357,9 @@ generic_install()
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
error $E_BAD_MAKE generic_install
|
error $E_BAD_MAKE generic_install
|
||||||
fi
|
fi
|
||||||
|
if [ $dostrip -eq 1 ]; then
|
||||||
strip
|
strip
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# generic_pack(): Build package using files from 'install' stage
|
# generic_pack(): Build package using files from 'install' stage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user