wok-6.x diff weechat/receipt @ rev 18378

Up: nginx (1.9.4)
author Nathan Neulinger <nneul@neulinger.org>
date Thu Sep 17 16:02:23 2015 +0000 (2015-09-17)
parents b67414949731
children 6135577f4d08
line diff
     1.1 --- a/weechat/receipt	Mon Dec 09 07:45:53 2013 +0000
     1.2 +++ b/weechat/receipt	Thu Sep 17 16:02:23 2015 +0000
     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