wok-6.x annotate turses/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@13245 | 1 # SliTaz package receipt. |
pascal@13245 | 2 |
pascal@13245 | 3 PACKAGE="turses" |
Hans-G?nter@22058 | 4 VERSION="0.3.1" |
pascal@13245 | 5 CATEGORY="network" |
pascal@13245 | 6 SHORT_DESC="A Twitter client for the console." |
pascal@13245 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="GPL3" |
Hans-G?nter@22058 | 9 WEB_SITE="https://github.com/louipc/turses" |
Hans-G?nter@22058 | 10 |
pascal@13245 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22058 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@13245 | 13 |
Hans-G?nter@22058 | 14 DEPENDS="python python-httplib2 python-oauth2 python-tweepy python-urwid" |
pascal@21581 | 15 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15601 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@13245 | 23 # Rules to configure and make the package. |
pascal@13245 | 24 compile_rules() |
pascal@13245 | 25 { |
pascal@13245 | 26 python setup.py build |
pascal@15601 | 27 python setup.py install --root=$DESTDIR |
pascal@13245 | 28 } |
pascal@13245 | 29 |
pascal@13245 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13245 | 31 genpkg_rules() |
pascal@13245 | 32 { |
pascal@15601 | 33 cp -a $install/usr $fs |
pascal@13245 | 34 } |