wok view elspci/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
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 }