wok-6.x annotate kriss_feed/receipt @ rev 25020
updated openmpi and openmpi-dev (4.0.3 -> 4.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 08:05:48 2022 +0100 (2022-05-18) |
parents | d8c511e24c20 |
children |
rev | line source |
---|---|
pascal@14361 | 1 # SliTaz package receipt. |
pascal@14361 | 2 |
pascal@14361 | 3 PACKAGE="kriss_feed" |
pascal@19980 | 4 VERSION="8.7" |
pascal@19980 | 5 GITHASH="31c857d66c3cf8e8efd281201a1a97d3d87ee1b8" |
pascal@14361 | 6 CATEGORY="network" |
pascal@14361 | 7 SHORT_DESC="A simple and smart (or stupid) feed reader." |
pascal@14361 | 8 WEB_SITE="https://github.com/tontof/kriss_feed" |
pascal@14361 | 9 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15604 | 10 LICENSE="other" |
pascal@16241 | 11 TARBALL="$PACKAGE-$VERSION" |
pascal@19980 | 12 WGET_URL="$WEB_SITE/raw/$GITHASH/index.php" |
pascal@14361 | 13 |
pascal@14361 | 14 DEPENDS="php" |
pascal@14361 | 15 BUILD_DEPENDS="wget" |
pascal@14361 | 16 |
pascal@24491 | 17 # What is the latest version available today? |
pascal@24491 | 18 current_version() |
pascal@24491 | 19 { |
pascal@24491 | 20 wget -O - https://github.com/tontof/kriss_feed/commits/master 2>/dev/null | \ |
pascal@24974 | 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24491 | 22 } |
pascal@24491 | 23 |
pascal@14361 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14361 | 25 genpkg_rules() |
pascal@14361 | 26 { |
pascal@14361 | 27 mkdir -p $fs/var/www/$PACKAGE |
pascal@14361 | 28 cd $fs/var/www/$PACKAGE |
pascal@14361 | 29 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php |
pascal@14361 | 30 } |
pascal@14361 | 31 |
pascal@14361 | 32 post_install() |
pascal@14361 | 33 { |
pascal@18730 | 34 chown -R www "$1/var/www/$PACKAGE" |
pascal@14361 | 35 } |