-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALL
55 lines (38 loc) · 1.28 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
Building from git repository
============================
Install build dependencies. For Debian use the following command
sudo apt-get install git autoconf-archive autotools-dev pkg-config \
libc6-dev libcanberra-dev libcap-dev libclamav-dev libgtk2.0-dev \
libmount-dev libnotify-dev
For Fedora use the following command
sudo yum install git libtool gcc-c++ gtk2-devel libnotify-devel \
clamav-devel libcanberra-devel autoconf-archive libmount-devel libcap-devel
# Clone repository
git clone https://github.com/xypron/skyldav.git skyldav
# Move to target directory
cd skyldav/
# Update from git repository
git pull
# Create configure script
./autogen.sh
# Configure
./configure
# Make
make -j6
# Test
make check
# Install
sudo make install
# The following has been verified against Debian:
# Copy configuration file.
# You may want to edit this file.
sudo cp examples/etc/skyldav.conf /etc
# Copy the file controling if skyldav will run as a service.
# You may want to edit this file.
sudo cp examples/etc/defaults/skyldav /etc/defaults
# Copy file for automatic startup.
sudo cp examples/etc/init.d/skyldav /etc/init.d
# Update the run levels.
sudo update-rc.d skyldav defaults
# Copy desktop starter for notification.
sudo cp examples/etc/xdg/autostart/skyldavnotify.desktop /etc/xdg/autostart