wok-current view elspci/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
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 }