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