wok-next annotate znc/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents af1be39c0a6b
children c4e53a39395a
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"
al@20453 16 DEPENDS="openssl 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 }