mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg: add mkpkg script to build eglibc-2.12 source packages
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f47ce1e9e1
commit
b718d8556c
26
tools/mkpkg/mkpkg_eglibc-2.12
Executable file
26
tools/mkpkg/mkpkg_eglibc-2.12
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "getting sources..."
|
||||
svn co svn://svn.eglibc.org/branches/eglibc-2_12/libc eglibc-2.12-latest
|
||||
svn co svn://svn.eglibc.org/branches/eglibc-2_12/ports eglibc-2.12-latest/ports
|
||||
svn co svn://svn.eglibc.org/branches/eglibc-2_12/linuxthreads/linuxthreads eglibc-2.12-latest/linuxthreads
|
||||
svn co svn://svn.eglibc.org/branches/eglibc-2_12/linuxthreads/linuxthreads_db eglibc-2.12-latest/linuxthreads_db
|
||||
|
||||
echo "getting version..."
|
||||
cd eglibc-2.12-latest
|
||||
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
|
||||
echo $SVN_REV
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf eglibc-2.12-$SVN_REV
|
||||
cp -R eglibc-2.12-latest eglibc-2.12-$SVN_REV
|
||||
|
||||
echo "cleaning sources..."
|
||||
find eglibc-2.12-$SVN_REV -name .svn -exec rm -rf {} ";"
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvjf eglibc-2.12-$SVN_REV.tar.bz2 eglibc-2.12-$SVN_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf eglibc-2.12-$SVN_REV
|
Loading…
x
Reference in New Issue
Block a user