Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37758295
en ru br
ALT Linux repos
S:0.1-alt3
5.0: 0.1-alt2
4.1: 0.1-alt2
4.0: 0.1-alt2

Group :: System/Base
RPM: build-environment

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh

DIR="${1:-/opt/build}"
ARCH=${ARCH:-i586}

for a in noarch "$ARCH"; do
mkdir -p -- "$DIR/$a/base"
mkdir -p -- "$DIR/$a/RPMS"

[ -e "$DIR/$a/RPMS.build" ] || ln -sf "$DIR/$a/RPMS" "$DIR/$a/RPMS.build"

genbasedir \
--topdir="$DIR" \
--architecture="$a" \
--no-oldhashfile \
--notautomatic=false \
"$a" \
build
done

mkdir -p -- /etc/apt/sources.list.d
cat >/etc/apt/sources.list.d/build.list<<EOF
rpm file:$DIR $ARCH build
rpm file:$DIR noarch build
EOF
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin