wok rev 17300

Update weechat to 1.0.1 (needs further testing, if unstable somehow then
downgrade to at most 0.4.3).
author necrophcodr <tcg.thegamer@gmail.com>
date Thu Oct 30 23:27:48 2014 +0100 (2014-10-30)
parents 691a68a89d21
children 2be6763841ba
files weechat/receipt weechat/stuff/weechat-implicit-function-declaration.patch
line diff
     1.1 --- a/weechat/receipt	Thu Oct 30 22:39:29 2014 +0100
     1.2 +++ b/weechat/receipt	Thu Oct 30 23:27:48 2014 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="weechat"
     1.7 -VERSION="0.3.7"
     1.8 +VERSION="1.0.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="a fast, light and extensible chat client."
    1.11  MAINTAINER="rocky@slitaz.org"
    1.12 @@ -13,32 +13,28 @@
    1.13  
    1.14  DEPENDS="ncursesw libgcrypt libgnutls libtasn1 python perl"
    1.15  BUILD_DEPENDS="perl python pkg-config curl-dev guile-dev gmp-dev ncursesw-dev \
    1.16 -libtool"
    1.17 +libtool cmake libgcrypt-dev gnutls-dev"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {	
    1.22  	cd $src
    1.23 -	while read file; do
    1.24 -		[ -f done.$file ] && continue
    1.25 -		echo "Apply $file..."
    1.26 -		patch -p1 < $stuff/$file || return 1
    1.27 -		touch done.$file
    1.28 -	done <<EOT
    1.29 -weechat-implicit-function-declaration.patch
    1.30 -EOT
    1.31 -	./configure \
    1.32 -		--enable-ncurses \
    1.33 -		--enable-gcrypt \
    1.34 -		--enable-gnutls \
    1.35 -		--enable-python \
    1.36 -		--enable-perl \
    1.37 -		--disable-ruby \
    1.38 -		--disable-tcl \
    1.39 -		--disable-aspell \
    1.40 -		--disable-doc \
    1.41 -		--with-debug=0 \
    1.42 -		$CONFIGURE_ARGS &&
    1.43 +	mkdir build &&
    1.44 +	cd build &&
    1.45 +	cmake .. &&
    1.46 +#	./autogen.sh &&
    1.47 +#	./configure \
    1.48 +#		--enable-ncurses \
    1.49 +#		--enable-gcrypt \
    1.50 +#		--enable-gnutls \
    1.51 +#		--enable-python \
    1.52 +#		--enable-perl \
    1.53 +#		--disable-ruby \
    1.54 +#		--disable-tcl \
    1.55 +#		--disable-aspell \
    1.56 +#		--disable-doc \
    1.57 +#		--with-debug=0 \
    1.58 +#		$CONFIGURE_ARGS &&
    1.59  	make &&
    1.60  	make install
    1.61  }
    1.62 @@ -47,8 +43,8 @@
    1.63  genpkg_rules()
    1.64  {
    1.65  	mkdir -p $fs/usr
    1.66 -	cp -a $install/usr/bin $fs/usr
    1.67 -	cp -a $install/usr/lib $fs/usr
    1.68 +	cp -a $install/usr/local/bin $fs/usr
    1.69 +	cp -a $install/usr/local/lib $fs/usr
    1.70  	rm -rf $fs/usr/lib/pkgconfig
    1.71  	rm -f $fs/usr/lib/weechat/plugins/*.a
    1.72  	rm -f $fs/usr/lib/weechat/plugins/*.la
     2.1 --- a/weechat/stuff/weechat-implicit-function-declaration.patch	Thu Oct 30 22:39:29 2014 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,11 +0,0 @@
     2.4 ---- weechat-0.3.3/configure.orig
     2.5 -+++ weechat-0.3.3/configure
     2.6 -@@ -18828,7 +18828,7 @@
     2.7 - weechat_libdir=${libdir}/weechat
     2.8 - 
     2.9 - 
    2.10 --COMMON_CFLAGS="-Wall -W -Werror-implicit-function-declaration"
    2.11 -+COMMON_CFLAGS="-Wall -W"
    2.12 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have GNU assembler" >&5
    2.13 - $as_echo_n "checking whether we have GNU assembler... " >&6; }
    2.14 - GAS=`as --version < /dev/null 2>/dev/null | grep GNU`