wok diff telegram/receipt @ rev 17282

Up youtube-dl (2014.10.27)
author Richard Dunbar <mojo@slitaz.org>
date Mon Oct 27 01:26:15 2014 -0400 (2014-10-27)
parents
children 9689f1b75619
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/telegram/receipt	Mon Oct 27 01:26:15 2014 -0400
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="telegram"
     1.7 +GITHASH="1dad2e89933085ea1e3d9fb1becb1907ce5de55f"
     1.8 +VERSION="${GITHASH:0:7}"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="Telegram messenger CLI"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="https://github.com/vysheng/tg"
    1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
    1.16 +
    1.17 +DEPENDS="libconfig libedit libncursesw libcrypto"
    1.18 +BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/telegram $fs/usr/bin
    1.32 +}