wok-current rev 25114
updated pciutils and pciutils-dev (3.6.4 -> 3.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 16:12:53 2022 +0100 (2022-06-25) |
parents | 77ec99338524 |
children | 9e975300b9fa |
files | pciutils-dev/receipt pciutils/receipt |
line diff
1.1 --- a/pciutils-dev/receipt Sat Jun 25 14:36:45 2022 +0000 1.2 +++ b/pciutils-dev/receipt Sat Jun 25 16:12:53 2022 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pciutils-dev" 1.7 -VERSION="3.6.4" 1.8 +VERSION="3.8.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Development files for pciutils." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 @@ -14,9 +14,5 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/lib 1.17 - 1.18 - cp -a $install/usr/include $fs/usr 1.19 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.20 - cp -a $install/usr/lib/*a $fs/usr/lib 1.21 + get_dev_files 1.22 }
2.1 --- a/pciutils/receipt Sat Jun 25 14:36:45 2022 +0000 2.2 +++ b/pciutils/receipt Sat Jun 25 16:12:53 2022 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="pciutils" 2.7 -VERSION="3.6.4" 2.8 +VERSION="3.8.0" 2.9 CATEGORY="system-tools" 2.10 SHORT_DESC="Linux PCI Utilities." 2.11 MAINTAINER="pankso@slitaz.org" 2.12 @@ -11,8 +11,8 @@ 2.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 WGET_URL="https://mj.ucw.cz/download/linux/pci/$TARBALL" 2.15 2.16 -DEPENDS="glibc-base pciids zlib" 2.17 -BUILD_DEPENDS="" 2.18 +DEPENDS="gcc83-lib-base glibc-base pciids zlib" 2.19 +BUILD_DEPENDS="gcc83" 2.20 2.21 # What is the latest version available today? 2.22 current_version() 2.23 @@ -24,12 +24,15 @@ 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 { 2.27 + sed -i 's|CC=cc|CC=gcc-83|' Makefile 2.28 + 2.29 make all \ 2.30 OPT="${CFLAGS} -fPIC -DPIC" \ 2.31 - SHARED=no PREFIX=/usr \ 2.32 + SHARED=no \ 2.33 + PREFIX=/usr \ 2.34 SHAREDIR=/usr/share/misc \ 2.35 MANDIR=/usr/share/man && 2.36 - cp -a lib/libpci.a $WOK/$PACKAGE/source && 2.37 + cp -a lib/libpci.a $WOK/$PACKAGE/source && 2.38 make clean && 2.39 make all \ 2.40 OPT="${CFLAGS}" \ 2.41 @@ -50,18 +53,15 @@ 2.42 # Rules to gen a SliTaz package suitable for Tazpkg. 2.43 genpkg_rules() 2.44 { 2.45 - mkdir -p $fs/usr/bin 2.46 - mkdir -p $fs/usr/lib 2.47 - 2.48 - cp -a $install/usr/sbin/lspci $fs/usr/bin 2.49 + cook_copy_files lspci 2.50 + cook_copy_files *.so* 2.51 cp -a $install/usr/sbin/setpci $fs/usr/bin 2.52 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.53 } 2.54 2.55 # Overlap busybox 2.56 pre_install() 2.57 { 2.58 - rm -f "$1/usr/bin/lspci" 2.59 + rm -f "$1/usr/bin/lspci" 2.60 } 2.61 2.62 post_remove()