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