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

Up: tazpkg(814), tazpanel(501)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 08 04:37:36 2015 +0300 (2015-06-08)
parents 7b4a8f56e44e
children 9e01bc6321ea
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@5977 10 WEB_SITE="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@5977 17 cd $src
pascal@15263 18 mkdir -p $DESTDIR/etc $DESTDIR/usr/share/man/man5 $DESTDIR/usr/share/man/man8
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@15138 39 [ -s $1/etc/silcd.pub ] || chroot $1/ /usr/sbin/silcd -C /etc
pascal@15138 40 }