wok-next annotate telegram/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 76524bb0e096 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@16744 | 1 # SliTaz package receipt. |
pascal@16744 | 2 |
pascal@16744 | 3 PACKAGE="telegram" |
pascal@16744 | 4 GITHASH="1dad2e89933085ea1e3d9fb1becb1907ce5de55f" |
pascal@16744 | 5 VERSION="${GITHASH:0:7}" |
pascal@16744 | 6 CATEGORY="network" |
pascal@16744 | 7 SHORT_DESC="Telegram messenger CLI" |
pascal@16744 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16744 | 9 LICENSE="GPL2" |
pascal@16744 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16744 | 11 WEB_SITE="https://github.com/vysheng/tg" |
pascal@16744 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz" |
pascal@16744 | 13 |
al@20453 | 14 DEPENDS="libconfig libedit ncurses openssl" |
pascal@19959 | 15 BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit \ |
pascal@19959 | 16 zlib-dev" |
pascal@16744 | 17 |
pascal@16744 | 18 # Rules to configure and make the package. |
pascal@16744 | 19 compile_rules() |
pascal@16744 | 20 { |
pascal@16744 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@16744 | 22 make |
pascal@16744 | 23 } |
pascal@16744 | 24 |
pascal@16744 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16744 | 26 genpkg_rules() |
pascal@16744 | 27 { |
pascal@16744 | 28 mkdir -p $fs/usr/bin |
pascal@16744 | 29 cp -a $src/telegram $fs/usr/bin |
pascal@16744 | 30 } |