wok-6.x annotate telegram/receipt @ rev 19392
Up vmtouch (1.1.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Aug 27 20:53:04 2016 +0100 (2016-08-27) |
parents | e1412a523d8e |
children | b569b85b0fb9 |
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 |
pascal@17482 | 14 DEPENDS="libconfig libedit ncursesw libcrypto" |
pascal@16744 | 15 BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit" |
pascal@16744 | 16 |
pascal@16744 | 17 # Rules to configure and make the package. |
pascal@16744 | 18 compile_rules() |
pascal@16744 | 19 { |
pascal@16744 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@16744 | 21 make |
pascal@16744 | 22 } |
pascal@16744 | 23 |
pascal@16744 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16744 | 25 genpkg_rules() |
pascal@16744 | 26 { |
pascal@16744 | 27 mkdir -p $fs/usr/bin |
pascal@16744 | 28 cp -a $src/telegram $fs/usr/bin |
pascal@16744 | 29 } |