29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
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
|
+
-
+
+
-
+
|
echo "-------------- .tar.gz installer ---------------"
epm -vvv -n -a all -f portable -s streamtuner2.png streamtuner2 _package.epm
mv linux-3.0-all/streamtuner2-$VERSION.tar.gz linux-3.0-all/streamtuner2-$VERSION.bin.tgz
echo "-------------------- .rpm -----------------------"
epm -vvv -n -a all -f rpm streamtuner2 _package.epm
mkdir linux-3.0-all/BUILD
/usr/bin/rpmbuild -bb --buildroot ./linux-3.0-all/buildroot --target all linux-3.0-all/streamtuner2.spec
/usr/bin/rpmbuild -bb --buildroot $(pwd)/linux-3.0-all/buildroot --target all linux-3.0-all/streamtuner2.spec
mv linux-3.0-all/RPMS/all/*.rpm linux-3.0-all/streamtuner2-$VERSION.rpm
rm -r linux-3.0-all/BUILD
rm -r linux-3.0-all/RPMS
rm -r linux-3.0-all/rpms
rm -r linux-3.0-all/buildroot
#rm -r linux-3.0-all/buildroot
rmdir linux-3.0-all/streamtuner2-$VERSION
rm linux-3.0-all/streamtuner2.spec
echo "-------------------- win32 -----------------------"
for pkg in "win32"
do
epm-win32sfx -v streamtuner2 _package.epm
done
mv win32/*exe linux-3.0-all/
rmdir win32
|