wok-current annotate gpodder/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
claudinei@5747 | 1 # SliTaz package receipt. |
claudinei@5747 | 2 |
claudinei@5747 | 3 PACKAGE="gpodder" |
Hans-G?nter@22877 | 4 VERSION="3.10.13" |
claudinei@5747 | 5 CATEGORY="multimedia" |
claudinei@5747 | 6 SHORT_DESC="A simple and usable podcast consumption." |
claudinei@5747 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@22877 | 9 WEB_SITE="https://gpodder.org" |
Hans-G?nter@22877 | 10 |
claudinei@5747 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22877 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz" |
claudinei@5747 | 13 |
Hans-G?nter@22877 | 14 DEPENDS="dbus-python feedparser py3k pygtk python-mygpoclient" |
Hans-G?nter@22877 | 15 BUILD_DEPENDS="feedparser intltool py3k-dev python-mygpoclient" |
pascal@14999 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24079 | 19 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ |
pascal@24079 | 20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
claudinei@5747 | 23 # Rules to configure and make the package. |
claudinei@5747 | 24 compile_rules() |
claudinei@5747 | 25 { |
slaxemulator@10135 | 26 make install |
claudinei@5747 | 27 } |
claudinei@5747 | 28 |
claudinei@5747 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@5747 | 30 genpkg_rules() |
claudinei@5747 | 31 { |
slaxemulator@10871 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@22877 | 33 |
Hans-G?nter@22877 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22877 | 35 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22877 | 36 cp -a $install/usr/share/gpodder $fs/usr/share |
Hans-G?nter@22877 | 37 cp -a $install/usr/share/dbus-1 $fs/usr/share |
claudinei@5747 | 38 } |