ports: Allow build scripts install to custom path
This will maybe allow packaging ports :)
This commit is contained in:
@@ -22,13 +22,12 @@ build() {
|
||||
}
|
||||
|
||||
install() {
|
||||
./waf install --destdir=$BANAN_SYSROOT/home/user/halflife || exit 1
|
||||
patchelf --add-needed libxash.so $BANAN_SYSROOT/home/user/halflife/xash3d
|
||||
./waf install --destdir="$DESTDIR/usr/share/games/halflife" || exit 1
|
||||
|
||||
cat > $BANAN_SYSROOT/home/user/halflife/start.sh << EOF
|
||||
cat > "$DESTDIR/home/user/halflife/start.sh" << EOF
|
||||
#!/bin/Shell
|
||||
export LD_LIBRARY_PATH=/home/user/halflife
|
||||
./xash3d -console
|
||||
EOF
|
||||
chmod +x $BANAN_SYSROOT/home/user/halflife/start.sh
|
||||
chmod +x $DESTDIR/home/user/halflife/start.sh
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user