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:
@@ -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
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
export LD_LIBRARY_PATH=$PWD/lib
|
||||
exec ./Coati
|
||||
@@ -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
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
sudo ln -s ./Coati /bin/Coati
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user