wok-4.x view pciids/receipt @ rev 12340

lynx: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Oct 11 10:19:54 2012 +0200 (2012-10-11)
parents
children 39f7962e4210
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 }