source: branches/stable/tools/deb-env @ 530

Last change on this file since 530 was 530, checked in by bcornec, 14 years ago

Build process reviewed once more :
gentoo integration
slackware integration
mkqemu should only work with tar files, and not SVN (ease VM build and time in build process)
To be continued

DOES NOT WORK AT THE MOMENT

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 632 bytes
Line 
1#!/bin/bash
2#
3# Creates deb environment from SVN repository
4#
5# $Id: deb-env 530 2006-05-08 15:31:14Z bcornec $
6#
7
8dname=`dirname $0`
9prem=`echo $dname |cut -c1`
10if [ ${prem} == "/" ]; then
11        export TOOLHOME=$dname
12else
13    export TOOLHOME=${PWD}/$dname
14fi
15
16. $TOOLHOME/common-env
17
18# Should not be modified below
19dname=`dirname $0`
20
21
22# TBD
23export TOPDIR=${BASE}/debs
24mkdir -p ${TOPDIR}
25export opt=""
26export pkg=""
27export ARCH=""
28
29if [ -e /etc/debian-release ]; then
30    export dfam="debian"
31    export ddir="debian"
32    export dver=`awk '{print $4}' /etc/debian-release`
33    export suf=".`echo $dver | sed 's/\.//'`mdk"
34fi
35
36if [ _"$suf" = _"" ]; then
37    export suf=".${ddir}${dver}"
38fi
Note: See TracBrowser for help on using the repository browser.