wok-6.x annotate znc/receipt @ rev 23834
Up alsa-lib (1.2.2), apache-ant (1.10.8), apache (2.4.43), lcms2 (2.10), libexit (0.6.22)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:10:42 2020 +0000 (2020-06-01) |
parents | 59d46ded4ed8 |
children | 1bbeef6dd358 |
rev | line source |
---|---|
pankso@16331 | 1 # SliTaz package receipt. |
pankso@16331 | 2 |
pankso@16331 | 3 PACKAGE="znc" |
Hans-G?nter@23793 | 4 VERSION="1.8.0" |
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 |
pankso@16331 | 20 # Rules to configure and make the package. |
pankso@16331 | 21 compile_rules() |
pankso@16331 | 22 { |
Hans-G?nter@22334 | 23 ./configure \ |
Hans-G?nter@22334 | 24 CC=gcc-83 \ |
Hans-G?nter@22334 | 25 CXX=g++-83 \ |
Hans-G?nter@22334 | 26 --enable-tcl \ |
Hans-G?nter@22334 | 27 --disable-python \ |
Hans-G?nter@22334 | 28 --disable-perl \ |
Hans-G?nter@22334 | 29 --disable-cyrus \ |
pankso@16331 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@22334 | 31 make && |
Hans-G?nter@22334 | 32 make install |
pankso@16331 | 33 } |
pankso@16331 | 34 |
pankso@16331 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16331 | 36 genpkg_rules() |
pankso@16331 | 37 { |
Hans-G?nter@22334 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22334 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@22334 | 40 |
Hans-G?nter@22334 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22334 | 42 cp -a $install/usr/lib/znc $fs/usr/lib |
Hans-G?nter@22334 | 43 cp -a $install/usr/share/znc $fs/usr/share |
pankso@16331 | 44 } |