summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/make_ipk
authorallenforsythe <allenforsythe>2003-05-04 22:02:48 (UTC)
committer allenforsythe <allenforsythe>2003-05-04 22:02:48 (UTC)
commit4593e3cf4eca4867e34b3220007c24523cf642b6 (patch) (unidiff)
treebd8071834dec2a5008b1b270c7953f5cfd65754d /noncore/apps/qashmoney/make_ipk
parent2894d0b14c0b3efa3ce259214b5aa597a6abfed1 (diff)
downloadopie-4593e3cf4eca4867e34b3220007c24523cf642b6.zip
opie-4593e3cf4eca4867e34b3220007c24523cf642b6.tar.gz
opie-4593e3cf4eca4867e34b3220007c24523cf642b6.tar.bz2
Initial revision
Diffstat (limited to 'noncore/apps/qashmoney/make_ipk') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/make_ipk41
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/apps/qashmoney/make_ipk b/noncore/apps/qashmoney/make_ipk
new file mode 100755
index 0000000..d477c83
--- a/dev/null
+++ b/noncore/apps/qashmoney/make_ipk
@@ -0,0 +1,41 @@
1# Use this script to make the IPK file for distribution
2# It assumes you are the root user. Ipkg likes to have all
3# its files owned by root and this script does that.
4# Change the user name from "allen" to your user name
5# If you want to use this script
6
7# Set the environment variables for the arm environment
8echo "Setting environment variables..."
9source arm.sh
10
11# Remove any exisitng IPK files
12echo "Removing exisiting IPK files..."
13rm -rf *.ipk
14
15# Strip the binary file
16echo "Stripping the binary file..."
17arm-linux-strip qashmoney
18
19# Move the file to the right location
20echo "Moving the binary file..."
21mv qashmoney install/opt/QtPalmtop/bin &&
22
23# Change ownership of all the files
24echo "Changing ownership of all files..."
25chown -R root install
26chgrp -R root install
27chmod -R 0777 install
28
29# Make the IPK
30echo "Making the IPK file..."
31./ipkg-build install
32
33# Remove the binary from the bin directory so we can make the tarball
34echo "Removing qashmoney binary file..."
35rm -rf install/opt/QtPalmtop/bin/qashmoney
36
37# Restore ownership of all files
38echo "Restoring ownership of all files..."
39chown -R allen install
40chgrp -R allen install
41chmod -R 0777 install