wok view elspci/receipt @ rev 25773

cookutils: fix svg compressor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 16:25:52 2024 +0000 (2 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 }