wok view znc/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 3c715d2d3d6c |
children | 922f061231c2 |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 --enable-tcl \
27 --disable-python \
28 --disable-perl \
29 --disable-cyrus \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/znc $fs/usr/lib
43 cp -a $install/usr/share/znc $fs/usr/share
44 }