wok-stable view pciids/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pciids"
4 VERSION="20111016"
5 CATEGORY="misc"
6 SHORT_DESC="pci.ids file for pciutils"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS=""
9 TARBALL="pci-$VERSION.ids"
10 WEB_SITE="http://pciids.sourceforge.net/"
11 WGET_URL="http://pciids.sourceforge.net/v2.2/pci.ids"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/misc
17 [ -f $src/pci-$VERSION.ids ] && mv $src/pci-$VERSION.ids $src/pci.ids
18 if [ ! -f $src/pci.ids.gz ]; then
19 gzip $src/pci.ids
20 fi
21 cp -a $src/pci.ids.gz $fs/usr/share/misc
22 }