wok-next view rrdtool/receipt @ rev 21270

up openssl 1.1.1a to 1.1.1d
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 07 12:17:15 2019 +0000 (2019-12-07)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rrdtool"
4 VERSION="1.7.0"
5 CATEGORY="misc"
6 SHORT_DESC="Data logging and graphing system for time series data"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://oss.oetiker.ch/rrdtool/pub/$TARBALL"
14 BUILD_DEPENDS="perl-dev zlib-dev freetype-dev libpng-dev libxml2-dev \
15 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl \
16 groff tcl-dev lua5.1-dev ruby-dev gettext-dev libwrap-dev glib-dev"
17 SPLIT="$PACKAGE-lua $PACKAGE-perl $PACKAGE-python $PACKAGE-ruby $PACKAGE-tcl \
18 $PACKAGE-dev $PACKAGE $PACKAGE-lite:lite"
20 COPY_std="bin/ lib/librrd.so*"
21 COPY_lua="lua/5.1/*.so*"
22 COPY_perl="perl5/"
23 COPY_python="python2.7/"
24 COPY_ruby="ruby/"
25 COPY_tcl="*.tcl tcl*.so"
26 COPY_lite="bin/ lib/librrd.so*"
28 CAT_lua="development|Lua bindings"
29 CAT_perl="development|Perl bindings"
30 CAT_python="development|Python bindings"
31 CAT_tcl="development|Tcl bindings"
33 DEPENDS_lua="lua5.1 rrdtool"
34 DEPENDS_perl="perl rrdtool"
35 DEPENDS_python="python rrdtool"
36 DEPENDS_ruby="ruby rrdtool"
37 DEPENDS_tcl="tcl rrdtool"
38 DEPENDS_dev="rrdtool"
39 DEPENDS_std="libcairo glib libpng libwrap libxml2 pango"
40 DEPENDS_lite="glib libxml2"
42 TAGS_std="logs"
43 TAGS_lite="logs"
45 compile_rules() {
46 case $SET in
47 '')
48 export LDFLAGS="$LDFLAGS -L/usr/lib/lua/5.1"
50 ln -sf lua/5.1 /usr/include/lua5.1
51 ln -sf lua/5.1 /usr/lib/lua5.1
52 ln -sf lua5.1 /usr/bin/lua
53 ln -sf luac5.1 /usr/bin/luac
55 SET_ARGS="\
56 --enable-perl-site-install \
57 --with-perl-options='INSTALLDIRS=vendor' \
58 --enable-ruby-site-install \
59 --enable-lua-site-install \
60 --enable-tcl-site"
61 ;;
62 lite)
63 SET_ARGS="\
64 --disable-rrdcgi \
65 --disable-rrd_graph \
66 --disable-nls \
67 --disable-libdbi \
68 --disable-libwrap \
69 --disable-perl \
70 --disable-ruby \
71 --disable-lua \
72 --disable-tcl \
73 --disable-python"
74 ;;
75 esac
77 ./configure \
78 $SET_ARGS \
79 $CONFIGURE_ARGS &&
80 fix libtool &&
81 make &&
82 make DESTDIR=$install install &&
84 find $install -type f -exec chmod u+w '{}' \;
85 }