wok-current annotate silc-server/receipt @ rev 21910

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