wok view silc-server/receipt @ rev 10962

Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 20 10:22:35 2011 +0000 (2011-09-20)
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 }