wok-next annotate znc/receipt @ rev 18047

Up tazusb (178), tazpanel (496), slitaz-config (254)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 14 09:18:57 2015 +0200 (2015-05-14)
parents 038b6ea9e5d7
children e6615350078d
rev   line source
pankso@16331 1 # SliTaz package receipt.
pankso@16331 2
pankso@16331 3 PACKAGE="znc"
pankso@16331 4 VERSION="1.2"
pankso@16331 5 CATEGORY="network"
pankso@16331 6 SHORT_DESC="An IRC bouncer with modules & scripts support."
pankso@16331 7 MAINTAINER="pankso@slitaz.org"
pankso@16331 8 LICENSE="GPL2"
pankso@16331 9 SOURCE="DFBSee"
pankso@16331 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16331 11 WEB_SITE="http://wiki.znc.in/ZNC"
pankso@16331 12 WGET_URL="http://znc.in/releases/$TARBALL"
pankso@16331 13 HOST_ARCH="i486 arm"
pankso@16331 14
pankso@16331 15 SUGGESTED="tcl"
pankso@16331 16 DEPENDS="libssl zlib"
pascal@16332 17 BUILD_DEPENDS="openssl-dev tcl-dev zlib-dev"
pankso@16331 18
pankso@16331 19 # Rules to configure and make the package.
pankso@16331 20 compile_rules()
pankso@16331 21 {
pankso@16331 22 ./configure \
pankso@16331 23 --enable-tcl \
pankso@16331 24 --disable-python \
pankso@16331 25 --disable-perl \
pankso@16331 26 --disable-cyrus \
pankso@16331 27 $CONFIGURE_ARGS &&
pankso@16331 28 make && make install
pankso@16331 29 }
pankso@16331 30
pankso@16331 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16331 32 genpkg_rules()
pankso@16331 33 {
pankso@16331 34 mkdir -p $fs/usr/lib $fs/usr/share
pankso@16331 35 cp -a $install/usr/bin $fs/usr
pankso@16331 36 cp -a $install/usr/lib/znc $fs/usr/lib
pankso@16331 37 cp -a $install/usr/share/znc $fs/usr/share
pankso@16331 38 }