wok-next view silc-server/receipt @ rev 10399

nspr: add CONFIGURE_ARGS (also was not building properly if build and host are set in cook.site ???)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 02:55:10 2011 +0200 (2011-05-24)
parents
children 7b4a8f56e44e
line source
1 # SliTaz package receipt.
3 PACKAGE="silc-server"
4 VERSION="1.1.18"
5 CATEGORY="network"
6 SHORT_DESC="Secure Internet Live Conferencing server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.silcnet.org"
10 WGET_URL="$WEB_SITE/download/server/sources/$TARBALL"
11 CONFIG_FILES="/etc/silcalgs.conf /etc/silcd.conf"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man --sysconfdir=/etc \
19 --with-logsdir=/var/log/silc \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/var/log/silc
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/sbin $fs/usr
31 }