wok view elspci/receipt @ rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (21 months ago) |
parents | d77ab883a8b3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="elspci"
4 VERSION="1.0-1"
5 CATEGORY="development"
6 TAGS="device"
7 SHORT_DESC="List PCI device information."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://t2sde.org/packages/elspci"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://distro.ibiblio.org/quirky/quirky6/sources/t2/april/$TARBALL"
15 BUILD_DEPENDS="dietlibc"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./makeme.sh
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/elspci $fs/usr/bin
35 }