Compare commits
6 Commits
78e516ad61
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13eb443a11 | ||
|
|
17c7e7d975 | ||
|
|
3c40b423d2 | ||
|
|
29fa5a8d0d | ||
|
|
a0bb1fff46 | ||
|
|
246eae205f |
@@ -67,7 +67,7 @@ topsrcdir=$topdir-$version # it may be necessary to override this
|
||||
|
||||
srcfiles=$buildpkgbase/srcfiles
|
||||
|
||||
pkgdirdesig=tgcware # topinstalldir suffix
|
||||
pkgdirdesig=dbpware # topinstalldir suffix
|
||||
topinstalldir=/usr/$pkgdirdesig
|
||||
prefix=$topinstalldir
|
||||
metainstalldir=$topinstalldir
|
||||
@@ -97,7 +97,7 @@ _os=$(${__uname} -sr|${__sed} -e 's/ //g' -e 's/\.//g'|${__tr} '[A-Z]' '[a-z]')
|
||||
# pkg information.
|
||||
# The following 3 vars can be used when constructing pkg metadata
|
||||
# Override as necessary.
|
||||
pkgprefix=SB
|
||||
pkgprefix=DBP
|
||||
pkgname=$pkgprefix$topdir # overriding this will be common
|
||||
name=$topdir # as will this ditto
|
||||
|
||||
@@ -1007,7 +1007,7 @@ generic_install_perl()
|
||||
# but that will break buildpkg since they are processed
|
||||
# later and the names thus change leaving pkgdef broken
|
||||
$d =~ /\Q$_\E/ && return
|
||||
for qw|/etc /usr/tgcware/bin /usr/tgcware/share|;
|
||||
for qw|/etc /usr/dbpware/bin /usr/dbpware/share|;
|
||||
|
||||
$dirs[@dirs] = $_;
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ declare -a opfiles # Files that should have an ops associated
|
||||
declare -a opscript # Ops to associate with opfiles
|
||||
|
||||
#override defaults
|
||||
pkgprefix=tgc_
|
||||
pkgprefix=dbp_
|
||||
pkgname=$pkgprefix$topdir
|
||||
|
||||
os=irix`${__uname} -r`
|
||||
@@ -142,7 +142,7 @@ META_CLEAN="$topdir.spec $topdir.idb files.tmp ${depends##*/}_auto ${depends##*/
|
||||
# Host specific configuration
|
||||
[ -r $buildpkgscripts/config.$($HOSTNAME -s).irix ] && . $buildpkgscripts/config.$($HOSTNAME -s).irix
|
||||
|
||||
distfile='$topdir-$version-$pkgver.tgc-$os-$cpu-$pkgdirdesig.tardist'
|
||||
distfile='$topdir-$version-$pkgver.dbp-$os-$cpu-$pkgdirdesig.tardist'
|
||||
|
||||
#####################################################
|
||||
# Internal helper functions
|
||||
@@ -1187,7 +1187,7 @@ dep_pkg_name()
|
||||
}
|
||||
|
||||
# extract_deps: Given a subsystem it will extract the dependencies
|
||||
# params: $1 = subsystem name (like tgc_xxx.sw.lib)
|
||||
# params: $1 = subsystem name (like dbp_xxx.sw.lib)
|
||||
# It goes through the idb file and finds all the files
|
||||
# associated with a given subsystem. It will then compute
|
||||
# the dependencies and return the package names for the dependencies.
|
||||
|
||||
@@ -46,8 +46,8 @@ pkgvendor="http://change/me/please"
|
||||
pkgdesc="mumble mubmle... hmm someone forgot to fill this out!"
|
||||
|
||||
# vendor & contact information
|
||||
pkgedby="Tom G. Christensen"
|
||||
email=swpkg@jupiterrise.com
|
||||
pkgedby="Mario Fetka"
|
||||
email=mario.fetka@disconnected-by-peer.at
|
||||
|
||||
# Set some helper vars that describes arch and OS version
|
||||
arch=`uname -p`
|
||||
@@ -56,7 +56,7 @@ os=sunos`${__uname} -r`
|
||||
gnu_os_ver=$(${__uname} -r | ${__sed} -e 's/^5/2/')
|
||||
|
||||
# By default, the build_arch is the same as arch, alternatives are sparc64 and
|
||||
# x86_64. It should be set to either when building for tgcware64.
|
||||
# x86_64. It should be set to either when building for dbpware64.
|
||||
build_arch=$arch
|
||||
|
||||
# Default pkginfo.in file
|
||||
@@ -106,7 +106,7 @@ configure_args=(--prefix=$prefix --mandir=${prefix}/${_mandir} --infodir=${prefi
|
||||
# ie: libmad-0.14.2b-1.sb-sol5.8-sparc-local
|
||||
# We hardquote it so that we can control when we want it
|
||||
# evaluated (using _upls)
|
||||
distfile='$secname-$version-$secver.tgc-$os-$build_arch-$pkgdirdesig'
|
||||
distfile='$secname-$version-$secver.dbp-$os-$build_arch-$pkgdirdesig'
|
||||
|
||||
# What pkgdef file to use
|
||||
pkgdef_file=pkgdef
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
# Global tool defintions for buildpkg
|
||||
|
||||
# Define tool programs in rpm style __ prefixed namespace
|
||||
__bash=/usr/tgcware/bin/bash
|
||||
__bash=/usr/dbpware/bin/bash
|
||||
__strip=/usr/bin/strip
|
||||
__uname=/usr/bin/uname
|
||||
__tar=/usr/tgcware/bin/tar # GNU tar v1.14 or better please!
|
||||
__tar=/usr/dbpware/bin/gtar # GNU tar v1.14 or better please!
|
||||
__vtar=/usr/bin/tar # vendor supplied tar
|
||||
__bzip2=/usr/tgcware/bin/bzip2
|
||||
__gzip=/usr/tgcware/bin/gzip
|
||||
__xz=/usr/tgcware/bin/xz
|
||||
__lzip=/usr/tgcware/bin/lzip
|
||||
__patch=/usr/tgcware/bin/patch # GNU patch 2.5 or better please!
|
||||
__bzip2=/usr/dbpware/bin/bzip2
|
||||
__gzip=/usr/dbpware/bin/gzip
|
||||
__xz=/usr/dbpware/bin/xz
|
||||
__lzip=/usr/dbpware/bin/lzip
|
||||
__patch=/usr/dbpware/bin/gpatch # GNU patch 2.5 or better please!
|
||||
__rm=/usr/bin/rm
|
||||
__rmdir=/usr/bin/rmdir
|
||||
__mkdir=/usr/bin/mkdir
|
||||
__make=/usr/tgcware/bin/make # GNU make 3.80 or better please!
|
||||
__make=/usr/dbpware/bin/gmake # GNU make 3.80 or better please!
|
||||
__find=/usr/bin/find # vendor supplied find, GNU find will require changes to the script
|
||||
__xargs=/usr/bin/xargs
|
||||
__cat=/usr/bin/cat
|
||||
__awk=/usr/bin/nawk # This must be nawk or GNU awk - plain /usr/bin/awk will *not* work
|
||||
__sed=/usr/bin/sed
|
||||
__gsed=/usr/tgcware/bin/sed
|
||||
__gsed=/usr/dbpware/bin/gsed
|
||||
__sort=/usr/bin/sort
|
||||
__cut=/usr/bin/cut
|
||||
__ls=/usr/bin/ls
|
||||
@@ -28,11 +28,11 @@ __expr=/usr/bin/expr
|
||||
__mv=/usr/bin/mv
|
||||
__mkdir=/usr/bin/mkdir
|
||||
__cp=/usr/bin/cp
|
||||
__gcp=/usr/tgcware/bin/cp
|
||||
__gcp=/usr/dbpware/bin/gcp
|
||||
__tee=/bin/tee
|
||||
__grep=/bin/grep
|
||||
__egrep=/bin/egrep
|
||||
__ggrep=/usr/tgcware/bin/grep # GNU grep
|
||||
__ggrep=/usr/dbpware/bin/ggrep # GNU grep
|
||||
__uniq=/bin/uniq
|
||||
__basename=/bin/basename
|
||||
__dirname=/bin/dirname
|
||||
@@ -40,17 +40,18 @@ __tr=/bin/tr
|
||||
__file=/usr/bin/file # Used by do_strip()
|
||||
__ln=/usr/bin/ln
|
||||
__ln_s="/usr/bin/ln -s"
|
||||
__install=/usr/tgcware/bin/install # BSD compatible install - usually GNU install
|
||||
__install=/usr/dbpware/bin/ginstall # BSD compatible install - usually GNU install
|
||||
__compress=/usr/bsd/compress
|
||||
__pack=/usr/bin/pack
|
||||
__sha1sum=/usr/tgcware/bin/sha1sum
|
||||
__unzip=/usr/tgcware/bin/unzip
|
||||
__sha1sum=/usr/dbpware/bin/gsha1sum
|
||||
__unzip=/usr/dbpware/bin/unzip
|
||||
__head=/usr/bin/head # Must support -n
|
||||
__perl=/usr/tgcware/bin/perl
|
||||
__readlink=/usr/tgcware/bin/readlink
|
||||
__perl=/usr/dbpware/bin/perl
|
||||
__readlink=/usr/dbpware/bin/greadlink
|
||||
__ldd=/usr/bin/ldd
|
||||
__curl=/usr/tgcware/bin/curl
|
||||
__curl=/usr/dbpware/bin/curl
|
||||
|
||||
# Groff stuff for manpages
|
||||
__nroff=/usr/tgcware/bin/nroff
|
||||
#__nroff=/usr/dbpware/bin/nroff
|
||||
__nroff=/usr/bin/nroff
|
||||
NROFFOPTS="-c -mandoc -Tascii -t"
|
||||
|
||||
Reference in New Issue
Block a user