wok-next annotate silc-server/receipt @ rev 12621
exo: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 12:03:08 2012 +0200 (2012-04-29) |
parents | |
children | 7b4a8f56e44e |
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@5977 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@5977 | 9 WEB_SITE="http://www.silcnet.org" |
pascal@5977 | 10 WGET_URL="$WEB_SITE/download/server/sources/$TARBALL" |
pascal@5977 | 11 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf" |
pascal@5977 | 12 |
pascal@5977 | 13 # Rules to configure and make the package. |
pascal@5977 | 14 compile_rules() |
pascal@5977 | 15 { |
pascal@5977 | 16 cd $src |
pascal@5977 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5977 | 18 --mandir=/usr/share/man --sysconfdir=/etc \ |
pascal@5977 | 19 --with-logsdir=/var/log/silc \ |
pascal@5977 | 20 $CONFIGURE_ARGS && |
pascal@5977 | 21 make && |
pascal@5977 | 22 make DESTDIR=$PWD/_pkg install |
pascal@5977 | 23 } |
pascal@5977 | 24 |
pascal@5977 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5977 | 26 genpkg_rules() |
pascal@5977 | 27 { |
pascal@5977 | 28 mkdir -p $fs/usr $fs/var/log/silc |
pascal@5977 | 29 cp -a $_pkg/etc $fs |
pascal@5977 | 30 cp -a $_pkg/usr/sbin $fs/usr |
pascal@5977 | 31 } |
pascal@5977 | 32 |