wok-next rev 20704

weechat: update (b)deps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 25 17:29:33 2018 +0300 (2018-05-25)
parents 5b16660095be
children 891185000a02
files weechat/receipt
line diff
     1.1 --- a/weechat/receipt	Fri May 25 12:35:08 2018 +0000
     1.2 +++ b/weechat/receipt	Fri May 25 17:29:33 2018 +0300
     1.3 @@ -1,51 +1,31 @@
     1.4 -# SliTaz package receipt
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="weechat"
     1.8  VERSION="1.0.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="a fast, light and extensible chat client."
    1.11 +SHORT_DESC="A fast, light and extensible chat client"
    1.12  MAINTAINER="rocky@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="http://weechat.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://weechat.org/"
    1.18  WGET_URL="http://weechat.org/files/src/$TARBALL"
    1.19 -TAGS="irc"
    1.20  
    1.21 -DEPENDS="ncurses libgcrypt libgnutls libtasn1 python perl"
    1.22 -BUILD_DEPENDS="perl python curl-dev guile-dev gmp-dev ncurses-dev \
    1.23 -libtool cmake libgcrypt-dev gnutls-dev"
    1.24 +BUILD_DEPENDS="cmake libgcrypt-dev gnutls-dev curl-dev tcl-dev guile-dev \
    1.25 +ncurses-dev libgpg-error-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{	
    1.30 -	cd $src
    1.31 -	mkdir build &&
    1.32 -	cd build &&
    1.33 -	cmake .. &&
    1.34 -#	./autogen.sh &&
    1.35 -#	./configure \
    1.36 -#		--enable-ncurses \
    1.37 -#		--enable-gcrypt \
    1.38 -#		--enable-gnutls \
    1.39 -#		--enable-python \
    1.40 -#		--enable-perl \
    1.41 -#		--disable-ruby \
    1.42 -#		--disable-tcl \
    1.43 -#		--disable-aspell \
    1.44 -#		--disable-doc \
    1.45 -#		--with-debug=0 \
    1.46 -#		$CONFIGURE_ARGS &&
    1.47 +compile_rules() {
    1.48 +	mkdir build
    1.49 +	cd    build
    1.50 +	cmake \
    1.51 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.52 +		.. &&
    1.53  	make &&
    1.54  	make install
    1.55  }
    1.56  
    1.57 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.58 -genpkg_rules()
    1.59 -{
    1.60 -	mkdir -p $fs/usr
    1.61 -	cp -a $install/usr/local/bin $fs/usr
    1.62 -	cp -a $install/usr/local/lib $fs/usr
    1.63 -	rm -rf $fs/usr/lib/pkgconfig
    1.64 -	rm -f $fs/usr/lib/weechat/plugins/*.a
    1.65 -	rm -f $fs/usr/lib/weechat/plugins/*.la
    1.66 +genpkg_rules() {
    1.67 +	copy @std *.png
    1.68 +	DEPENDS="libcurl libgcrypt libgnutls ncurses tcl zlib"
    1.69 +	TAGS="irc"
    1.70  }