wok-current view silc-server/receipt @ rev 20194
Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 13:54:33 2018 +0100 (2018-02-12) |
parents | 9e01bc6321ea |
children | f9690e227edd |
line source
1 # SliTaz package receipt.
3 PACKAGE="silc-server"
4 VERSION="1.1.18"
5 CATEGORY="network"
6 SHORT_DESC="Secure Internet Live Conferencing server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.silcnet.org"
11 WGET_URL="$WEB_SITE/download/server/sources/$TARBALL"
12 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p $DESTDIR/etc $DESTDIR/usr/share/man/man5 \
19 $DESTDIR/usr/share/man/man8 $DESTDIR/usr/share/doc/silc-server
20 touch $DESTDIR/etc/silcd.pub
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man --sysconfdir=/etc \
23 --with-logsdir=/var/log/silc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/var/log/silc
33 cp -a $install/etc $fs
34 cp -a $install/usr/sbin $fs/usr
35 }
37 # Pre and post install commands for Tazpkg.
38 post_install()
39 {
40 [ -s "$1/etc/silcd.pub" ] || chroot "$1/" /usr/sbin/silcd -C /etc
41 }