wok annotate silc-server/receipt @ rev 21830
updated ratmenu (2.3.20 -> 2.3.22)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Sep 13 17:27:19 2019 +0100 (2019-09-13) |
parents | 965806f1a9ba |
children | fa50aa6b22c6 |
rev | line source |
---|---|
pascal@5977 | 1 # SliTaz package receipt. |
pascal@5977 | 2 |
pascal@5977 | 3 PACKAGE="silc-server" |
pascal@5977 | 4 VERSION="1.1.18" |
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@5977 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@21709 | 10 WEB_SITE="https://web.archive.org/web/20190501185313/http://www.silcnet.org/" |
pascal@5977 | 11 WGET_URL="$WEB_SITE/download/server/sources/$TARBALL" |
pascal@5977 | 12 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf" |
pascal@5977 | 13 |
pascal@5977 | 14 # Rules to configure and make the package. |
pascal@5977 | 15 compile_rules() |
pascal@5977 | 16 { |
pascal@19791 | 17 mkdir -p $DESTDIR/etc $DESTDIR/usr/share/man/man5 \ |
pascal@19791 | 18 $DESTDIR/usr/share/man/man8 $DESTDIR/usr/share/doc/silc-server |
pascal@15138 | 19 touch $DESTDIR/etc/silcd.pub |
pascal@5977 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5977 | 21 --mandir=/usr/share/man --sysconfdir=/etc \ |
pascal@5977 | 22 --with-logsdir=/var/log/silc \ |
pascal@5977 | 23 $CONFIGURE_ARGS && |
pascal@5977 | 24 make && |
pascal@15138 | 25 make DESTDIR=$DESTDIR install |
pascal@5977 | 26 } |
pascal@5977 | 27 |
pascal@5977 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5977 | 29 genpkg_rules() |
pascal@5977 | 30 { |
pascal@5977 | 31 mkdir -p $fs/usr $fs/var/log/silc |
pascal@15138 | 32 cp -a $install/etc $fs |
pascal@15138 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@5977 | 34 } |
pascal@5977 | 35 |
pascal@15138 | 36 # Pre and post install commands for Tazpkg. |
pascal@15138 | 37 post_install() |
pascal@15138 | 38 { |
pascal@18730 | 39 [ -s "$1/etc/silcd.pub" ] || chroot "$1/" /usr/sbin/silcd -C /etc |
pascal@15138 | 40 } |