wok-current view silc-server/receipt @ rev 22336

updated zvbi and zvbi-dev (0.2.33 -> 0.2.35)
author Hans-G?nter Theisgen
date Fri Nov 15 16:30:46 2019 +0100 (2019-11-15)
parents f9690e227edd
children 0c04fc34847a
line source
1 # SliTaz package receipt.
3 PACKAGE="silc-server"
4 VERSION="1.1.19"
5 CATEGORY="network"
6 SHORT_DESC="Secure Internet Live Conferencing server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20190501185313/http://www.silcnet.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="$WEB_SITE/download/server/sources/$TARBALL"
13 WGET_URL="$SF_MIRROR/project/silc/silc/server/sources/$TARBALL"
15 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/etc
21 mkdir -p $DESTDIR/usr/share/man/man5
22 mkdir -p $DESTDIR/usr/share/man/man8
23 mkdir -p $DESTDIR/usr/share/doc/silc-server
25 touch $DESTDIR/etc/silcd.pub
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --sysconfdir=/etc \
32 --with-logsdir=/var/log/silc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 mkdir -p $fs/var/log/silc
44 cp -a $install/etc $fs
45 cp -a $install/usr/sbin $fs/usr
46 }
48 # Pre and post install commands for Tazpkg.
49 post_install()
50 {
51 [ -s "$1/etc/silcd.pub" ] || chroot "$1/" /usr/sbin/silcd -C /etc
52 }