/[gentoo-x86]/scripts/build-dyn.sh
Gentoo

Contents of /scripts/build-dyn.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download) (as text)
Mon Sep 27 20:09:28 2004 UTC (15 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-sh
FILE REMOVED
old stuff; use catalyst

1 murphy 1.1 #!/bin/bash
2     x86_ver=1.0
3     sparc_ver=1.0
4     sparc64_ver=1.0
5     unamem=`uname -m`
6    
7     case `uname -m` in
8     sparc64) profile=default-sparc64-${sparc64_ver} ;;
9     sparc) profile=default-sparc-${sparc_ver} ;;
10     i[0-9]86) profile=default-${x86_ver} ;;
11     esac
12    
13     profiledir=/usr/portage/profiles/${profile}
14    
15     for x in `cat ${profiledir}/packages.build`
16     do
17     grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" ${profiledir}/packages \
18     | grep -v '^#' | sed -e 's:^\*::' | cat
19     done

  ViewVC Help
Powered by ViewVC 1.1.20