wok view telegram/receipt @ rev 20692
Up lvm2 (2.02.183)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 02 10:29:04 2019 +0100 (2019-02-02) |
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 }