wok-6.x annotate python-smspdu/receipt @ rev 24641
updated hexchat and hexchat-plugin (2.10.2 -> 2.16.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 16:50:15 2022 +0100 (2022-03-09) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
pascal@20443 | 1 # SliTaz package receipt. |
pascal@20443 | 2 |
pascal@20443 | 3 PACKAGE="python-smspdu" |
pascal@20443 | 4 SOURCE="smspdu" |
pascal@20443 | 5 VERSION="1.0" |
pascal@20443 | 6 CATEGORY="development" |
pascal@20443 | 7 SHORT_DESC="SMS PDU encoding and decoding, including GSM-0338 character set" |
pascal@20443 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20443 | 9 LICENSE="BSD" |
pascal@20443 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20443 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@20443 | 12 WGET_URL="https://files.pythonhosted.org/packages/d4/ef/f632a98655bfe6ada9eca406c4980fe1ca23f925efd93ab33cd57cd16994/$TARBALL" |
pascal@20443 | 13 |
pascal@20443 | 14 DEPENDS="python" |
pascal@20443 | 15 BUILD_DEPENDS="python" |
pascal@20443 | 16 |
pascal@24383 | 17 # What is the latest version available today? |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24383 | 20 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@20443 | 23 # Rules to configure and make the package. |
pascal@20443 | 24 compile_rules() |
pascal@20443 | 25 { |
pascal@20443 | 26 python setup.py install --root=$DESTDIR |
pascal@20443 | 27 } |
pascal@20443 | 28 |
pascal@20443 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20443 | 30 genpkg_rules() |
pascal@20443 | 31 { |
pascal@20443 | 32 cp -a $install/usr $fs |
pascal@20443 | 33 } |