wok view silc-server/receipt @ rev 24318

updated adwaita-icon-theme (3.34.3 -> 41.0)
author Hans-G?nter Theisgen
date Tue Jan 25 14:40:52 2022 +0100 (2022-01-25)
parents fa50aa6b22c6
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/silc/files/silc/server/sources/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.[zt].*||;s|_|.|g;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/etc
28 mkdir -p $DESTDIR/usr/share/man/man5
29 mkdir -p $DESTDIR/usr/share/man/man8
30 mkdir -p $DESTDIR/usr/share/doc/silc-server
32 touch $DESTDIR/etc/silcd.pub
34 ./configure \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 --sysconfdir=/etc \
39 --with-logsdir=/var/log/silc \
40 $CONFIGURE_ARGS &&
41 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 mkdir -p $fs/var/log/silc
51 cp -a $install/etc $fs
52 cp -a $install/usr/sbin $fs/usr
53 }
55 # Pre and post install commands for Tazpkg.
56 post_install()
57 {
58 [ -s "$1/etc/silcd.pub" ] || chroot "$1/" /usr/sbin/silcd -C /etc
59 }