wok-next view telegram/receipt @ rev 16747

Up: bluefish (2.2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sat Jun 14 19:43:22 2014 +0000 (2014-06-14)
parents
children 9689f1b75619
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 libncursesw 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 }