wok view telegram/receipt @ rev 17987

slitaz-base-files: up (267), fix HTTP POST form bug.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 22 11:58:12 2015 +0300 (2015-04-22)
parents e1412a523d8e
children b569b85b0fb9
line source
1 # SliTaz package receipt.
3 PACKAGE="telegram"
4 GITHASH="1dad2e89933085ea1e3d9fb1becb1907ce5de55f"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="network"
7 SHORT_DESC="Telegram messenger CLI"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/vysheng/tg"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
14 DEPENDS="libconfig libedit ncursesw libcrypto"
15 BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/telegram $fs/usr/bin
29 }