wok view telegram/receipt @ rev 18844

Slitaz Tic Tac Toe game
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Jan 22 21:35:30 2016 -0200 (2016-01-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 }