wok-current view weechat/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | b67414949731 |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt
3 PACKAGE="weechat"
4 VERSION="1.0.1"
5 CATEGORY="network"
6 SHORT_DESC="a fast, light and extensible chat client."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://weechat.org/"
11 WGET_URL="http://weechat.org/files/src/$TARBALL"
12 TAGS="irc"
14 DEPENDS="ncursesw libgcrypt libgnutls libtasn1 python perl"
15 BUILD_DEPENDS="perl python pkg-config curl-dev guile-dev gmp-dev ncursesw-dev \
16 libtool cmake libgcrypt-dev gnutls-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 mkdir build &&
23 cd build &&
24 cmake .. &&
25 # ./autogen.sh &&
26 # ./configure \
27 # --enable-ncurses \
28 # --enable-gcrypt \
29 # --enable-gnutls \
30 # --enable-python \
31 # --enable-perl \
32 # --disable-ruby \
33 # --disable-tcl \
34 # --disable-aspell \
35 # --disable-doc \
36 # --with-debug=0 \
37 # $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/local/bin $fs/usr
47 cp -a $install/usr/local/lib $fs/usr
48 rm -rf $fs/usr/lib/pkgconfig
49 rm -f $fs/usr/lib/weechat/plugins/*.a
50 rm -f $fs/usr/lib/weechat/plugins/*.la
51 }