build: Linux package(.deb)

.deb package file for debian distros like ubuntu
To create the package use the command: ninja package
in the build directory
This commit is contained in:
Andreas Stallinger
2015-04-21 12:01:06 +02:00
parent 4692ca961a
commit 7655d43299
26 changed files with 102 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
echo $dirname
tmp="${dirname#?}"
echo $tmp
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
echo $dirname
fi
LD_LIBRARY_PATH=$dirname/lib
export LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
$dirname/$appname
+2
View File
@@ -0,0 +1,2 @@
export LD_LIBRARY_PATH=$PWD/lib
exec ./Coati
+11
View File
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=Coati
GenericName=Coati
X-GNOME-FullName=Coati
Comment=Code Explorer
Exec=/usr/share/coati/Coati.sh %u
Icon=coati
Path=/usr/share/coati/
Terminal=true
Type=Application
StartupNotify=true
+1
View File
@@ -0,0 +1 @@
sudo ln -s ./Coati /bin/Coati
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.