blob: e0aa8e913b6a699ea26f0d25a1be8fe6fd63f4d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
[ -d tmp ] && rm -r tmp
extdir=usr/lib/enigma2/python/Plugins/Extensions/CurlyTx
mkdir -p tmp/$extdir/locale/
cp -R CONTROL tmp/
for i in po/??.mo; do
lang=`basename "$i" .mo`
mkdir -p tmp/$extdir/locale/$lang/LC_MESSAGES
cp "$i" tmp/$extdir/locale/$lang/LC_MESSAGES/CurlyTx.mo
done
cp po/messages.pot tmp/$extdir/locale/CurlyTx.pot
python -O -m compileall src/ -f
cp src/*.py tmp/$extdir/
cp src/*.pyo tmp/$extdir/
ipkg-build tmp/
rm -r tmp
[ ! -d releases ] && mkdir releases
mv enigma2-plugin-extensions-curlytx_*_mipsel.ipk releases/
|