wok annotate elspci/receipt @ rev 25139

updated phpsysinfo (3.3.2 -> 3.4.0)
author Hans-G?nter Theisgen
date Wed Jun 29 11:19:44 2022 +0100 (2022-06-29)
parents 245df3ec9e6a
children c15fedfb9582
rev   line source
Hans-G?nter@24514 1 # SliTaz package receipt.
Hans-G?nter@24514 2
Hans-G?nter@24514 3 PACKAGE="elspci"
Hans-G?nter@24514 4 VERSION="1.0-1"
Hans-G?nter@24514 5 CATEGORY="development"
Hans-G?nter@24514 6 TAGS="device"
Hans-G?nter@24514 7 SHORT_DESC="List PCI device information."
Hans-G?nter@24514 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24514 9 LICENSE="GPL"
Hans-G?nter@24514 10 WEB_SITE="unknown"
Hans-G?nter@24514 11
Hans-G?nter@24514 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@24514 13 WGET_URL="http://distro.ibiblio.org/quirky/quirky6/sources/t2/april/$TARBALL"
Hans-G?nter@24514 14
Hans-G?nter@24514 15 BUILD_DEPENDS="dietlibc"
Hans-G?nter@24514 16
pascal@24525 17 # What is the latest version available today?
pascal@24525 18 current_version()
pascal@24525 19 {
pascal@24525 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24525 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24525 22 }
pascal@24525 23
Hans-G?nter@24514 24 # Rules to configure and make the package.
Hans-G?nter@24514 25 compile_rules()
Hans-G?nter@24514 26 {
Hans-G?nter@24514 27 ./makeme.sh
Hans-G?nter@24514 28 }
Hans-G?nter@24514 29
Hans-G?nter@24514 30 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24514 31 genpkg_rules()
Hans-G?nter@24514 32 {
Hans-G?nter@24514 33 mkdir -p $fs/usr/bin
Hans-G?nter@24514 34 cp -a $src/elspci $fs/usr/bin
Hans-G?nter@24514 35 }