wok annotate znc/receipt @ rev 22401
expat: use same DL as in Next
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 08 12:26:44 2019 +0000 (2019-12-08) |
parents | 6135577f4d08 |
children | 3c715d2d3d6c |
rev | line source |
---|---|
pankso@16331 | 1 # SliTaz package receipt. |
pankso@16331 | 2 |
pankso@16331 | 3 PACKAGE="znc" |
Hans-G?nter@22334 | 4 VERSION="1.7.5" |
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 } |