wok-6.x rev 16744
Add telegram
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 12 09:18:41 2014 +0200 (2014-06-12) |
parents | 5e9e7232d342 |
children | 7d7ec01f832e |
files | arp-scan/receipt telegram/receipt |
line diff
1.1 --- a/arp-scan/receipt Thu Jun 12 08:58:34 2014 +0200 1.2 +++ b/arp-scan/receipt Thu Jun 12 09:18:41 2014 +0200 1.3 @@ -9,7 +9,6 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="https://github.com/royhills/arp-scan" 1.6 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.7 -# https://github.com/royhills/arp-scan/archive/1.9.tar.gz 1.8 1.9 DEPENDS="libpcap perl" 1.10 BUILD_DEPENDS="wget autoconf automake libpcap-dev"
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/telegram/receipt Thu Jun 12 09:18:41 2014 +0200 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="telegram" 2.7 +GITHASH="1dad2e89933085ea1e3d9fb1becb1907ce5de55f" 2.8 +VERSION="${GITHASH:0:7}" 2.9 +CATEGORY="network" 2.10 +SHORT_DESC="Telegram messenger CLI" 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="GPL2" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="https://github.com/vysheng/tg" 2.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz" 2.16 + 2.17 +DEPENDS="libconfig libedit libncursesw libcrypto" 2.18 +BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + ./configure --prefix=/usr $CONFIGURE_ARGS && 2.24 + make 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/bin 2.31 + cp -a $src/telegram $fs/usr/bin 2.32 +}