-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake_all.sh
executable file
·108 lines (86 loc) · 1.58 KB
/
make_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/bin/bash
set -e
LB_CHROOT_NAME="$1"
if [ -z "$1" ]; then
LB_CHROOT_NAME="none"
fi
LB_ARGS="--chroot=$LB_CHROOT_NAME"
LB_ARGS="$LB_ARGS --ignore-foundations --user=`id -u` --group=`id -g`"
export LIMBA_FULLNAME="Matthias Klumpp"
export LIMBA_EMAIL="[email protected]"
export LIMBA_TARGET_REPO="master"
mkdir -p _bundlepool
function build {
sudo -E limba-build run $LB_ARGS
}
function movetopool {
mv -f lipkg/*.ipk* ../_bundlepool
}
cd libjpeg-turbo
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building libJPEG-Turbo"
build
movetopool
cd ..
cd libpng
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building libpng"
build
movetopool
cd ..
cd physfs
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building PhysFS"
build
movetopool
cd ..
cd freetype
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building FreeType"
build
movetopool
cd ..
cd SDL2-full
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building SDL2"
build
movetopool
cd ..
cd libogg
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building libogg"
build
movetopool
cd ..
cd libvorbis
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building libvorbis"
build
movetopool
cd ..
#cd libXScrnSaver
#find . -name "*.ipk*" -exec rm -f {} \;
#echo "Building libXScrnSaver"
#build
#movetopool
#cd ..
cd neverball
find . -name "*.ipk*" -exec rm -f {} \;
echo "Building Neverball"
build
movetopool
cd ..
echo ""
echo "____________________"
echo ""
echo "Creating repository..."
rm -rf out_lirepo
mkdir -p out_lirepo
cd out_lirepo
for fname in ../_bundlepool/*.ipk
do
limba-build repo-add $fname
done
cd ..
chmod -R 0755 out_lirepo
echo "All done."