wok-next view telegram/receipt @ rev 20137

mariadb: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 21:42:04 2017 +0100 (2017-10-31)
parents 6c12ac1293fc
children e6615350078d
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 ncurses libcrypto"
15 BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit \
16 zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/telegram $fs/usr/bin
30 }