wok-next diff pciutils/receipt @ rev 20666
Up freeglut (3.0.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 03:09:34 2018 +0300 (2018-05-11) |
parents | 6a3f3d91ab26 |
children | f48456621a9d |
line diff
1.1 --- a/pciutils/receipt Tue Nov 14 03:01:24 2017 +0200 1.2 +++ b/pciutils/receipt Fri May 11 03:09:34 2018 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="pciutils" 1.7 -VERSION="3.5.5" 1.8 +VERSION="3.5.6" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Linux PCI Utilities" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,45 +9,26 @@ 1.13 WEB_SITE="http://mj.ucw.cz/sw/pciutils/" 1.14 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pciutils.html" 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$TARBALL" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 +WGET_URL="https://www.kernel.org/pub/software/utils/pciutils/$TARBALL" 1.20 1.21 BUILD_DEPENDS="kmod-dev eudev-dev zlib-dev" 1.22 SPLIT="pciutils-dev" 1.23 1.24 compile_rules() { 1.25 make \ 1.26 - OPT="$CFLAGS -fPIC -DPIC" \ 1.27 - ZLIB=yes \ 1.28 - SHARED=no \ 1.29 - PREFIX=/usr \ 1.30 - SHAREDIR=/usr/share/misc \ 1.31 - MANDIR=/usr/share/man \ 1.32 - SBINDIR=/usr/bin \ 1.33 - lib/libpci.a && 1.34 - cp lib/libpci.a $src/../ && 1.35 - 1.36 - make clean && 1.37 - make \ 1.38 - OPT="$CFLAGS" \ 1.39 - ZLIB=yes \ 1.40 - SHARED=yes \ 1.41 PREFIX=/usr \ 1.42 SBINDIR=/usr/bin \ 1.43 - SHAREDIR=/usr/share/misc \ 1.44 - MANDIR=/usr/share/man \ 1.45 - all && 1.46 - 1.47 + SHAREDIR=/usr/share/hwdata \ 1.48 + SHARED=yes && 1.49 make \ 1.50 - SHARED=yes \ 1.51 PREFIX=/usr \ 1.52 SBINDIR=/usr/bin \ 1.53 - SHAREDIR=/usr/share/misc \ 1.54 - MANDIR=/usr/share/man \ 1.55 - DESTDIR=$install \ 1.56 - install install-lib && 1.57 + SHAREDIR=/usr/share/hwdata \ 1.58 + SHARED=yes \ 1.59 + install install-lib || return 1 1.60 1.61 - mv $src/../libpci.a $install/usr/lib 1.62 + chmod -v 755 $install/usr/lib/libpci.so.$VERSION 1.63 } 1.64 1.65 genpkg_rules() { 1.66 @@ -55,7 +36,7 @@ 1.67 pciutils) 1.68 copy @std 1.69 rm -rf $fs/usr/share/ 1.70 - DEPENDS="eudev kmod liblzma zlib pciids" 1.71 + DEPENDS="eudev kmod zlib pciids" 1.72 ;; 1.73 *-dev) 1.74 copy @dev