wok annotate znc/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents 1bbeef6dd358
children bd7510903310
rev   line source
pankso@16331 1 # SliTaz package receipt.
pankso@16331 2
pankso@16331 3 PACKAGE="znc"
pascal@23849 4 VERSION="1.8.1"
pankso@16331 5 CATEGORY="network"
Hans-G?nter@22334 6 SHORT_DESC="An IRC bouncer with modules and scripts support."
pankso@16331 7 MAINTAINER="pankso@slitaz.org"
pankso@16331 8 LICENSE="GPL2"
Hans-G?nter@22334 9 WEB_SITE="https://wiki.znc.in/ZNC"
Hans-G?nter@22334 10
pankso@16331 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22334 12 WGET_URL="http://znc.in/releases/archive/$TARBALL"
pankso@16331 13
pankso@16331 14 SUGGESTED="tcl"
Hans-G?nter@22334 15 DEPENDS="gcc83-lib-base libssl zlib"
Hans-G?nter@22334 16 BUILD_DEPENDS="gcc83 openssl-dev tcl-dev zlib-dev"
Hans-G?nter@22334 17
Hans-G?nter@22334 18 HOST_ARCH="i486 arm"
pankso@16331 19
pascal@24304 20 # What is the latest version available today?
pascal@24304 21 current_version()
pascal@24304 22 {
pascal@24304 23 wget -O - https://github.com/znc/znc/tags 2>/dev/null | \
pascal@24304 24 sed '/archive.*tar/!d;s|.*/znc-\(.*\).tar.*|\1|;q'
pascal@24304 25 }
pascal@24304 26
pankso@16331 27 # Rules to configure and make the package.
pankso@16331 28 compile_rules()
pankso@16331 29 {
Hans-G?nter@22334 30 ./configure \
Hans-G?nter@22334 31 CC=gcc-83 \
Hans-G?nter@22334 32 CXX=g++-83 \
Hans-G?nter@22334 33 --enable-tcl \
Hans-G?nter@22334 34 --disable-python \
Hans-G?nter@22334 35 --disable-perl \
Hans-G?nter@22334 36 --disable-cyrus \
pankso@16331 37 $CONFIGURE_ARGS &&
Hans-G?nter@22334 38 make &&
Hans-G?nter@22334 39 make install
pankso@16331 40 }
pankso@16331 41
pankso@16331 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16331 43 genpkg_rules()
pankso@16331 44 {
Hans-G?nter@22334 45 mkdir -p $fs/usr/lib
Hans-G?nter@22334 46 mkdir -p $fs/usr/share
Hans-G?nter@22334 47
Hans-G?nter@22334 48 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22334 49 cp -a $install/usr/lib/znc $fs/usr/lib
Hans-G?nter@22334 50 cp -a $install/usr/share/znc $fs/usr/share
pankso@16331 51 }