mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg: add script to get and pack siglaunchd sources
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
34c5d024cc
commit
c268e0cfbe
24
tools/mkpkg/mkpkg_siglaunchd
Executable file
24
tools/mkpkg/mkpkg_siglaunchd
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "getting sources..."
|
||||
svn checkout svn://svn.projects.openmoko.org/svnroot/siglaunchd/trunk siglaunchd-latest
|
||||
|
||||
echo "getting version..."
|
||||
cd siglaunchd-latest
|
||||
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
|
||||
echo $SVN_REV
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf siglaunchd-$SVN_REV
|
||||
cp -R siglaunchd-latest siglaunchd-$SVN_REV
|
||||
|
||||
echo "cleaning sources..."
|
||||
find siglaunchd-$SVN_REV -name .svn -exec rm -rf {} ";"
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvjf siglaunchd-$SVN_REV.tar.bz2 siglaunchd-$SVN_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf siglaunchd-$SVN_REV
|
||||
|
Loading…
x
Reference in New Issue
Block a user