wok-6.x annotate weechat/receipt @ rev 19528

harfbuzz: mv /usr/bin to harfbuzz-apps (hg add)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 28 16:31:17 2016 +0100 (2016-11-28)
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 }