wok diff rrdtool/receipt @ rev 13924

Up: atk (2.6.0)
author Alexander Medvedev <devl547@gmail.com>
date Fri Jan 25 23:21:02 2013 +0000 (2013-01-25)
parents fad852c4aabe
children 2d12ebd38be4
line diff
     1.1 --- a/rrdtool/receipt	Sat Apr 07 22:51:12 2012 +0200
     1.2 +++ b/rrdtool/receipt	Fri Jan 25 23:21:02 2013 +0000
     1.3 @@ -13,7 +13,7 @@
     1.4  xcb-util xorg-base-fonts libwrap"
     1.5  BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
     1.6  fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
     1.7 -libwrap-dev tcl-dev lua-dev ruby"
     1.8 +libwrap-dev tcl-dev lua5.1-dev ruby"
     1.9  TAGS="logs"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12 @@ -21,18 +21,29 @@
    1.13  {
    1.14  	cd $src
    1.15  	sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs
    1.16 +	export LDFLAGS="-L/usr/lib/lua/5.1"
    1.17 +	TOREMOVE="/usr/include/lua5.1"
    1.18 +	ln -s lua/5.1 /usr/include/lua5.1
    1.19 +	for i in /usr/bin/lua /usr/bin/luac ; do
    1.20 +		[ -e $i ] && continue
    1.21 +		ln -s $(basename $i)5.1 $i
    1.22 +		TOREMOVE="$TOREMOVE $i"
    1.23 +	done
    1.24  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25  	--enable-perl-site-install \
    1.26  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.27  	make &&
    1.28 -	make DESTDIR=$PWD/_pkg install
    1.29 +	make DESTDIR=$DESTDIR install
    1.30 +	for i in $TOREMOVE ; do
    1.31 +		rm -f $i
    1.32 +	done
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr/lib
    1.39 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 -	cp -a $_pkg/usr/bin $fs/usr
    1.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 +	cp -a $install/usr/bin $fs/usr
    1.43  }
    1.44