Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rishabh Gupta
purr-data
Commits
d9875c8d
Commit
d9875c8d
authored
Mar 06, 2013
by
Ivica Bukvic
Browse files
added raspbian compile option
parent
6f278c40
Changes
1
Show whitespace changes
Inline
Side-by-side
l2ork_addons/tar_em_up.sh
View file @
d9875c8d
...
...
@@ -14,8 +14,9 @@ then
echo
" -u full installer for end-users without sudo"
echo
echo
" Options for devs only (please ignore):"
echo
" -b build a deb (incremental)"
echo
" -b build a deb (incremental
, all platforms
)"
echo
" -B build a deb (complete recompile)"
echo
" -R build a Raspberry Pi deb (complete recompile)"
echo
" -f full installer (incremental)"
echo
" -F full installer (complete recompile)"
echo
" -w do not install cwiid system-wide"
...
...
@@ -29,10 +30,11 @@ core=0
dev
=
0
full
=
0
no_cwiid
=
0
rpi
=
0
inst_dir
=
/usr/local
while
getopts
":abBcdefFuw"
Option
while
getopts
":abBcdefF
R
uw"
Option
do case
$Option
in
a
)
addon
=
1
;;
...
...
@@ -42,6 +44,10 @@ do case $Option in
B
)
deb
=
2
inst_dir
=
/usr
;;
R
)
deb
=
2
inst_dir
=
/usr
rpi
=
1
;;
c
)
core
=
1
;;
d
)
dev
=
1
;;
...
...
@@ -225,6 +231,15 @@ then
make distclean
rm
-rf
build/
fi
if
[
$rpi
-eq
0
]
then
echo
"installing desktop version..."
cp
-f
debian/control.desktop debian/control
else
echo
"installing raspbian version..."
cp
-f
debian/control.raspbian debian/control
cat
../../externals/OSCx/src/Makefile |
sed
-e
s/-lpd//g
>
../../externals/OSCx/src/Makefile
fi
make
install
prefix
=
$inst_dir
echo
"copying l2ork-specific externals..."
# patch_name
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment