wok-6.x view pciids/receipt @ rev 14853
x11vnc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 10:50:13 2013 +0000 (2013-07-18) |
parents | 70470f9c2705 |
children | 51a1ebbda768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pciids"
4 VERSION="20121024"
5 CATEGORY="misc"
6 SHORT_DESC="pci.ids file for pciutils"
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="pci-$VERSION.ids"
9 WEB_SITE="http://pciids.sourceforge.net/"
10 WGET_URL="http://pciids.sourceforge.net/v2.2/pci.ids"
11 HOST_ARCH="i486 arm"
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 }