wok view elspci/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 245df3ec9e6a
children c15fedfb9582
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="unknown"
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 }